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

TestDownload.test_YoutubePlaylist broken #23872

Closed
jxu opened this issue Jan 28, 2020 · 3 comments
Closed

TestDownload.test_YoutubePlaylist broken #23872

jxu opened this issue Jan 28, 2020 · 3 comments

Comments

@jxu
Copy link
Contributor

@jxu jxu commented Jan 28, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.01.24
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

N/A

Description

YoutubePlaylist test is broken. YoutubePlaylists works.

$ python3 test/test_download.py TestDownload.test_YoutubePlaylist
[youtube:playlist] PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re: Downloading webpage
ERROR: This playlist does not exist.
Traceback (most recent call last):
  File "/home/jx/Documents/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/jx/Documents/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/jx/Documents/youtube-dl/youtube_dl/extractor/youtube.py", line 2815, in _real_extract
    has_videos, playlist = self._extract_playlist(playlist_id)
  File "/home/jx/Documents/youtube-dl/youtube_dl/extractor/youtube.py", line 2738, in _extract_playlist
    raise ExtractorError(message, expected=True)
youtube_dl.utils.ExtractorError: This playlist does not exist.

E
======================================================================
ERROR: test_YoutubePlaylist (__main__.TestDownload):
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jx/Documents/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/jx/Documents/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/jx/Documents/youtube-dl/youtube_dl/extractor/youtube.py", line 2815, in _real_extract
    has_videos, playlist = self._extract_playlist(playlist_id)
  File "/home/jx/Documents/youtube-dl/youtube_dl/extractor/youtube.py", line 2738, in _extract_playlist
    raise ExtractorError(message, expected=True)
youtube_dl.utils.ExtractorError: This playlist does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test/test_download.py", line 159, in test_template
    force_generic_extractor=params.get('force_generic_extractor', False))
  File "/home/jx/Documents/youtube-dl/youtube_dl/YoutubeDL.py", line 819, in extract_info
    self.report_error(compat_str(e), e.format_traceback())
  File "/home/jx/Documents/youtube-dl/youtube_dl/YoutubeDL.py", line 624, in report_error
    self.trouble(error_message, tb)
  File "/home/jx/Documents/youtube-dl/youtube_dl/YoutubeDL.py", line 594, in trouble
    raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: This playlist does not exist.

----------------------------------------------------------------------
Ran 1 test in 0.549s

FAILED (errors=1)
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 29, 2020

Feel free to file a PR.

@dstftw dstftw closed this Jan 29, 2020
@jxu
Copy link
Contributor Author

@jxu jxu commented Jan 29, 2020

@dstftw why is this issue closed when it has not been resolved or marked as duplicate, invalid, etc.?

@jxu jxu mentioned this issue Jan 29, 2020
5 of 9 tasks complete
dstftw pushed a commit that referenced this issue Mar 2, 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.