Giter VIP home page Giter VIP logo

Comments (4)

3xploitch3ats avatar 3xploitch3ats commented on August 17, 2024

only change the video title because it has a character ф

Private Sub txtTitle_TextChanged(sender As Object, e As EventArgs) Handles txtTitle.TextChanged
If System.IO.Directory.Exists("Historique") = False Then
System.IO.Directory.CreateDirectory("Historique")
End If
Dim Times As String = System.DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss")
Dim file As System.IO.StreamWriter
file = My.Computer.FileSystem.OpenTextFileWriter("Historique\Historiques.Bro", True)
file.WriteLine(Times & txtTitle.Text())
file.Close()
If System.IO.Directory.Exists("Historique") = False Then
System.IO.Directory.CreateDirectory("Historique")
End If
If CheckBox1.Checked = True Then
My.Settings.ChangeText = True
lblDefVideoTit.Text = txtTitle.Text
txtTitle.Text = txtTitle.Text
GoTo EndSub
Else
My.Settings.ChangeText = False
End If
txtTitle.SelectAll()
If lblDefVideoTit.Text.Contains("""") Then
GoTo DoubleSeparator
End If
If lblDefVideoTit.Text.Contains("|") Then
GoTo Separator
End If
If lblDefVideoTit.Text.Contains("?") Then
GoTo Interogator
End If
If lblDefVideoTit.Text.Contains(":") Then
GoTo DoublePoint
End If
If lblDefVideoTit.Text.Contains("") Then
GoTo Stars
End If
If lblDefVideoTit.Text.Contains("/") Then
GoTo Slash
End If
If lblDefVideoTit.Text.Contains("") Then
GoTo Slash2
End If
If lblDefVideoTit.Text.Contains("<") Then
GoTo Parenthese1
End If
If lblDefVideoTit.Text.Contains(">") Then
GoTo Parenthese2
End If
lblDefVideoTit.Text = txtTitle.Text
GoTo EndSub
DoubleSeparator:
txtTitle.Text = lblDefVideoTit.Text.Replace("""", "¤")
GoTo EndSub
Separator:
txtTitle.Text = lblDefVideoTit.Text.Replace("|", "¤")
GoTo EndSub
Interogator:
txtTitle.Text = lblDefVideoTit.Text.Replace("?", "¤")
GoTo EndSub
DoublePoint:
txtTitle.Text = lblDefVideoTit.Text.Replace(":", "¤")
GoTo EndSub
Stars:
txtTitle.Text = lblDefVideoTit.Text.Replace("
", "¤")
GoTo EndSub
Slash:
txtTitle.Text = lblDefVideoTit.Text.Replace("/", "¤")
GoTo EndSub
Slash2:
txtTitle.Text = lblDefVideoTit.Text.Replace("", "¤")
GoTo EndSub
Parenthese2:
txtTitle.Text = lblDefVideoTit.Text.Replace("<", "¤")
GoTo EndSub
Parenthese1:
txtTitle.Text = lblDefVideoTit.Text.Replace(">", "¤")
GoTo EndSub
EndSub:
End Sub

Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox1.CheckedChanged
    If CheckBox1.Checked = True Then
        My.Settings.ChangeText = True
    Else
        My.Settings.ChangeText = False
    End If
    My.Settings.Save()
End Sub

from youtubeextractor.

mixail167 avatar mixail167 commented on August 17, 2024

I changed the video title to Latin characters. Not work.

from youtubeextractor.

3xploitch3ats avatar 3xploitch3ats commented on August 17, 2024

for the character in c++ this is
#pragma execution_character_set("utf-8")
but i dont have checked for vb script

do you have try download only with english letters
because the program is write in english

or try rename the title of your download with 123.mp4
and the best way for know if your character is supported
this is of change the title of your mp4 with your character
and if your mp4 keep your character this is ok it can write it
but it has a lot of character that dont supported

example if you try put | in the title of your mp4
or same the double quote "",
it will not have it in his title
i replace some character by ¤
because it can't write it in the title

and the video dont download because it can't write the title correctly

and i take the script of LinPolly
https://github.com/LinPolly/YoutubeExtractor

and i can download your video without changing nothing
and my project is here
#373

from youtubeextractor.

mixail167 avatar mixail167 commented on August 17, 2024

I changed the video title to 123.mp4. Not work. I also use the project of LinPolly.

from youtubeextractor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.