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

[youtube:history] It can wipe the watch history list #6893

Closed
asparago opened this issue Sep 19, 2015 · 6 comments
Closed

[youtube:history] It can wipe the watch history list #6893

asparago opened this issue Sep 19, 2015 · 6 comments

Comments

@asparago
Copy link

@asparago asparago commented Sep 19, 2015

I was trying to get my YouTube Watch History. I needed only the file IDs, not the content.

So I used:

h@debian:~/ythistory$ youtube-dl -u myuser -p mypass https://www.youtube.com/feed/history --skip-download >> ytlist.txt

It successfully worked until there was an unavailable video, the 428th out of 8713... The download process was aborted.

So I tried again adding the parameter "--ignore-errors", but only 4 files were listed. I checked on my YouTube account and the Watch History was empty. That was really sick.

I don't know why it happened, is this a bug of the program?

Also, is there a way to restore the watch history?

Are IDs saved in a temporary file which I can restore in some way?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 19, 2015

As far as I know youtube-dl can't modify the Watch History list because we just extract the video urls from the feed, but I haven't tested it in a while.
Maybe you accidentally deleted it in the browser interface?

Also, is there a way to restore the watch history?

Probably no.

Are IDs saved in a temporary file which I can restore in some way?
youtube-dl doesn't store any info.

@asparago
Copy link
Author

@asparago asparago commented Sep 19, 2015

Maybe you accidentally deleted it in the browser interface?

No way. I didn't open the browser while trying the program from shell.

Something could have happened it's a sort of "flood protection" by Google, because I made a lot of tries with different parameters.

I don't know what happened.

@dstftw dstftw added the bug label Sep 20, 2015
dstftw added a commit that referenced this issue Sep 20, 2015
Wiped out part of my history as well
@jaimeMF jaimeMF changed the title Problem / bug downloading Youtube Watch History [youtube:history] It can wipe the watch history list Sep 20, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 20, 2015

I have dowwloaded a history with 110 videos and it didn't wiped it, @dstftw how many videos did you have?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 20, 2015

I had 441 videos and started it with command youtube-dl https://www.youtube.com/feed/history -u email -p password --skip-download, then interrupted on video no. 313. After that it has wiped all videos apart from 24 latest.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 21, 2015

After I've watched another ~50 videos my whole history is back now. So this looks like an issue on YouTube side.

@dstftw dstftw closed this Sep 21, 2015
@dstftw dstftw removed the bug label Sep 21, 2015
@asparago
Copy link
Author

@asparago asparago commented Sep 30, 2015

Today it's back to me, too.

It's a YouTube problem (or flood protection?).

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.

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