youtube-dl werkt niet meer

Y P yellowpenguin op telenet.be
Wo Sep 11 19:29:27 UTC 2019


Hallo,

tot op heden gebruikte ik youtube-dl in Ubuntu 16.04.6 LTS
onder pip (Python 2.7)
en werkte het prima.

Ik heb wel een scriptje gemaakt om na de watch?v= prompt de "cijfers en
letters" te kunnen ingeven,
dan ENTER,
en dan haalde het tot nu toe de mp4 binnen,
waarna de audio eruit ging naar wav en dan naar mp3.  

Wel, sinds een paar youtube-dl upgrades had ik ipv
   artist-titel-Uiopazer123.mp4
nog enkel
   _-Uiopazer123.mp4
maar ik dacht dat het toeval was!!!

Sinds m'n pip install --upgrade youtube-dl van dar straks, kan ik blijkbaar
helemaal niets meer van youtube.com downloaden.

Ik kan wel een typescript file + m'n scriptje erbij zetten zodat iemand mij
op weg kan helpen. 

MVG,

Y P 
------------- volgend deel ------------
# Script is gestart op wo 11 sep 2019 20:59:46 CEST
aldo op W330AU:/tmp/mmm$ mymp4tube 
MP4Tube ! ! ! 

Download http://www.youtube.com/watch?v=B_o5XcrEF-I 
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'mp4', u'-v', u'--write-description', 
u'--youtube-skip-dash-manifest', u'--no-check-certificate', 
u'--prefer-insecure', u'http://www.youtube.com/watch?v=B_o5XcrEF-I']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.01
[debug] Python version 2.7.12 (CPython) - 
Linux-4.4.0-141-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.15, avprobe 2.8.15, ffmpeg 2.8.15, 
ffprobe 2.8.15, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] B_o5XcrEF-I: Downloading webpage
[youtube] B_o5XcrEF-I: Downloading video info webpage
ERROR: This video is unavailable.
Traceback (most recent call last):
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 2115, in _real_extract
    raise ExtractorError(error_message, expected=True)
ExtractorError: This video is unavailable.


totaal 0
-rw-rw-r-- 1 aldo aldo 0 sep 11 20:59 typescript
Press  ENTER  to continue ... /home/aldo/bin/mymp4tube: 15: read: arg count
MPlayer 1.2.1 (Debian), built with gcc-5.4.0 (C) 2000-2016 MPlayer Team

Playing ./*.mp4.
File not found: './*.mp4'
Failed to open ./*.mp4.


Exiting... (End of file)

ls: kan geen toegang krijgen tot '*.wav': Bestand of map bestaat niet
Press  ENTER  to continue ... /home/aldo/bin/mymp4tube: 21: read: arg count
System error.
Could not open sound file "./*.wav".
Press  ENTER  to continue ... /home/aldo/bin/mymp4tube: 24: read: arg count
cp: kan status van './audiodump.wav' niet opvragen: Bestand of map bestaat niet
cp: kan status van './z.mp3' niet opvragen: Bestand of map bestaat niet
normalize-audio: file ./a.wav: Bestand of map bestaat niet
normalize-audio: no files!
Can't read ./zz.mp3: No such file or directory, 
stopped at /usr/bin/normalize-mp3 line 130.
Press  ENTER  to continue ... /home/aldo/bin/mymp4tube: 30: read: arg count
MPlayer 1.2.1 (Debian), built with gcc-5.4.0 (C) 2000-2016 MPlayer Team

Playing ./z*.mp3.
File not found: './z*.mp3'
Failed to open ./z*.mp3.


Exiting... (End of file)

aldo op W330AU:/tmp/mmm$ which youtube-dl
/home/aldo/.local/bin/youtube-dl
aldo op W330AU:/tmp/mmm$ .
# 
------------- volgend deel ------------
#!/bin/sh
# My MP4 Tube - script 
# 
YT="http://www.youtube.com/watch?v="
# 
clear
read -p"MyMP4Tube ! ! ! 

Download http://www.youtube.com/watch?v=" FF
clear
#youtube-dl -f mp4 --youtube-skip-dash-manifest --no-check-certificate --prefer-insecure $YT$FF
youtube-dl -f mp4 -v --write-description --youtube-skip-dash-manifest --no-check-certificate --prefer-insecure $YT$FF
echo  
ls -lrt 
read -p"Press  ENTER  to continue ... "
clear
/bin/stty cols 80 rows 40
/usr/bin/mplayer -vo null -vc dummy -nomouseinput -nojoystick -nolirc -ao pcm ./*.mp4 
echo  
ls -lrt *.wav
read -p"Press  ENTER  to continue ... "
clear
lame -b 192 ./*.wav ./z.mp3
read -p"Press  ENTER  to continue ... "
clear
cp ./audiodump.wav ./a.wav
cp ./z.mp3 ./zz.mp3
/usr/bin/normalize-audio ./a.wav
/usr/bin/normalize-mp3 --force-encode --mp3 --bitrate 192 ./zz.mp3
read -p"Press  ENTER  to continue ... "
clear
#/usr/bin/mplayer -vo null -vc dummy -nomouseinput -nojoystick -nolirc -cache-min 2 ./z.mp3
/usr/bin/mplayer -vo null -vc dummy -nomouseinput -nojoystick -nolirc -cache-min 2 ./z*.mp3
/bin/stty cols 80 rows 25 
# 
#clear && file ./* && ls -lrt
exit
# 


Meer informatie over de Ubuntu-NL maillijst