Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XTube Python Extraction Failure #25602

Closed
AlphaLunaFurry opened this issue Jun 9, 2020 · 1 comment
Closed

XTube Python Extraction Failure #25602

AlphaLunaFurry opened this issue Jun 9, 2020 · 1 comment

Comments

@AlphaLunaFurry
Copy link

@AlphaLunaFurry AlphaLunaFurry commented Jun 9, 2020

Tried to download a video from XTube, and this happened.

$ youtube-dl "https://www.xtube.com/video-watch/wife-using-a-toy-32459942" [XTube] wife-using-a-toy: Downloading webpage Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> 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 2018, 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

Thank you in advance. If you need anything else, feel free to send me a message or reply here.

UPDATE:

Updated script to latest version, python traceback is a little different, but same bug.

$ youtube-dl "https://www.xtube.com/video-watch/wife-using-a-toy-32459942" [XTube] wife-using-a-toy: Downloading webpage Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> 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 2018, 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

Version string:

$ youtube-dl --version 2020.06.06

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 17, 2020

Amateur Videos can be watched only by members.

Pass authenticated cookies to youtube-dl.

@dstftw dstftw closed this Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.