Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
UnboundLocalError in xtube.py #25013
Comments
|
Checklist
Verbose log
$ youtube-dl -v https://www.xtube.com/video-watch/catsuit-latex-babe-laurens-outdoor-fetish-wear-posing-43326501
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.xtube.com/video-watch/catsuit-latex-babe-laurens-outdoor-fetish-wear-posing-43326501']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 2.7.12 (CPython) - Linux-4.4.0-169-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg N-78590-g5590ab4, ffprobe N-78590-g5590ab4, rtmpdump 2.4
[debug] Proxy map: {}
[XTube] catsuit-latex-babe-laurens-outdoor-fetish-wear-posing: Downloading webpage
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 474, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 464, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/xtube.py", line 103, in _real_extract
UnboundLocalError: local variable 'sources' referenced before assignment
Description
Same error using Python3
$ python3 /usr/local/bin/youtube-d [url]