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

Download of "like" list breaks if video in list is removed #23121

Closed
braselectron opened this issue Nov 17, 2019 · 0 comments
Closed

Download of "like" list breaks if video in list is removed #23121

braselectron opened this issue Nov 17, 2019 · 0 comments

Comments

@braselectron
Copy link

@braselectron braselectron commented Nov 17, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.11.05
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

if video has been removed and is in user liked list I get the following error:

WARNING: Unable to extract video title
WARNING: unable to extract description; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: Content Warning
If the owner of this video has granted you access, please sign in.
       This video is private.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2148, in _real_extract
    raise ExtractorError(error_message, expected=True)
ExtractorError: Content Warning
If the owner of this video has granted you access, please sign in.
       This video is private.

Description

So I need to keep a backup of the my "liked" video because some are removed by the author or by youtube. I use the following bash script to download "liked" videos:

$listkey=<you need to get your login key of your account>

youtube-dl https://www.youtube.com/playlist?list=$listkey\
 --skip-download --get-id -e --get-duration

This should produce the list and the videos that are not available any more should be skipped, but it now aborts the download with error.

My system is Ubuntu 18.04.3 LTS / Intel CPU / 4.15.0-66-generic '#'75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@dstftw dstftw closed this Nov 17, 2019
@ytdl-org ytdl-org locked and limited conversation to collaborators Nov 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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