hi,
for exemple this odysee channel : https://odysee.com/@JulieCouvreur.UneAutreRéalité:4
if i copy it in a cmd batch for yt dlp it becomes that https://odysee.com/@JulieCouvreur.UneAutreR%C3%A9alit%C3%A9:4
and of course it can't download anything
how can we solve this problem ?
actually i already find a work around, use Tartube application which can accept special characters, the problem is I lost the advantage from ytdlp which is --download-archive FILE.txt which allow me to use again the same batch after few weeks and download again ONLY the new videos
+ Reply to Thread
Results 1 to 8 of 8
-
Last edited by inklara; 8th Jan 2022 at 15:57.
-
found a bunch of solutions here : https://stackoverflow.com/questions/7584423/running-bat-cmd-file-with-accented-characters-in-it
copy from wordpad to txt file, and rename to bat, seems ok
but now i have the 10054 error, so I can't test anymore
it's funny each time i have any smallest issue with ytdlp the result is always this 10054 then i never know when it will works again, vpn change nothing to this issue, i have also desactivate a proxy setting in windows but it change also nothing
edit: i have try this wordpad trick to keep special characters in txt file and rename to bat, with an other odysee video channel which have é in their name, and seems it doesn't work at all with batch file, but if I copy directly in CMD it works oO I hope this thread can be useful to someone else, and if someone know how to make it works from BAT file I am still here to read ^^Last edited by inklara; 8th Jan 2022 at 15:53.
-
Have you tried putting the link with special characters within double quotes ?
""
Not tested, but worth a quick go (?)Last edited by codehound; 8th Jan 2022 at 16:27.
-
Hi codehound,
Thanks again for your help, yes already tried.
Also something funny with my workaround, I must not touch at all the CMD windows or the black background becomes white and downloads stop. -
yt-dlp https://odysee.com/@JulieCouvreur.UneAutreRéAlité:4
[lbry:channel] @JulieCouvreur.UneAutreRéAlité#4: Downloading channel JSON metadata
[download] Downloading playlist: Julie Couvreur - Une Autre Réalité
[lbry:channel] 48d20bbd1c3bbac650f13966a88a51aba27eef1b: Downloading page 1 JSON metadata
[lbry:channel] playlist Julie Couvreur - Une Autre Réalité: Downloading 30 videos
[download] Downloading video 1 of 30
[lbry] réincarnation#ddda54c8305cc2df742361069f09f217be6e d6dc: Downloading stream JSON metadata
[lbry] ddda54c8305cc2df742361069f09f217be6ed6dc: Downloading streaming url JSON metadata
[lbry] réincarnation#ddda54c8305cc2df742361069f09f217be6e d6dc: Downloading streaming redirect url info
[info] ddda54c8305cc2df742361069f09f217be6ed6dc: Downloading 1 format(s): 0
[download] Destination: RÉINCARNATION [ddda54c8305cc2df742361069f09f217be6ed6dc].mp4
[download] 2.2% of 366.83MiB at 970.70KiB/s ETA 06:18 ...Last edited by LZAA; 8th Jan 2022 at 16:55.
-
yes LZAA, thanks, as i was saying it's funny that it works if you write that directly in CMD, but not if you launch it from a .bat file
Last edited by inklara; 8th Jan 2022 at 18:28.
-
Create batch file 'Download.bat' - 'UTF-8' encoding. Do not use 'notepad.exe'!
chcp 65001
yt-dlp https://odysee.com/@JulieCouvreur.UneAutreRéAlité:4
pauseLast edited by LZAA; 9th Jan 2022 at 10:47.
-
WOW, your solution with chcp 65001 works perfectly!
thanks a lot!!!
I have just used notepad++, save as UTF-8, then rename .txt to .bat
Similar Threads
-
New line characters are not honoured by my TV
By menteith in forum SubtitleReplies: 3Last Post: 1st Mar 2021, 16:18 -
How to stop Subrip cutting off top of character accents?
By curious_jane in forum SubtitleReplies: 5Last Post: 31st Jul 2018, 01:16 -
Title longer than 75 characters?
By colorstar in forum FeedbackReplies: 1Last Post: 12th Dec 2017, 07:46 -
Strange Characters
By jollyjohn in forum ProgrammingReplies: 1Last Post: 1st Sep 2017, 03:23 -
subtitle edit ocr for French
By howtwosavealif3 in forum SubtitleReplies: 2Last Post: 29th Mar 2017, 12:03