-
Notifications
You must be signed in to change notification settings - Fork 13
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: specific account not able to extract video data #204
Comments
on the main account, try this > youtube-dl --force-generic-extractor https://www.youtube.com/watch?v=v32ZQIg1j4Y |
omg, it works like a charm. |
Main account Log
Alt Account Log
Alt [generic] watchv=v32ZQIg1j4Y_https_-_www.youtube.com_watchv=v32ZQIg1j4Y.txt After 2 days. Youtube break it again :( |
tried this link - https://www.youtube.com/watch?v=v32ZQIg1j4Y |
Yes, it's problem only happens on the specific account. The only different youtube setting is main account has "channel" function opened. Probably same issue as ytdl-org#26936 Might the Channel function caused this? |
I just opened the Channel function on my alt account. |
Checklist
Verbose log
Description
I use the same method to get cookie.txt for main and alt account.
Alt account can extract video data normally, but not the main account.
I need the membership content that is only available on main account, however, all youtube links cannnot be extracted when login with main account.
With the same setting only change it to alt account's cookie.txt file, the link is extracted normally
What I have tried.
Fresh install of firefox to get cookie.txt for main account. (only login to main account) Failed
Switching to alt account on youtube page then get the cookie.txt. Since it is using alt account to extract. It extracts video data normally.
I have asked my friend to try to extract the same link with his cookie.txt, he can extract it normally. We both have the 2FA on. My alt account doesn't have 2FA on.
Using phone's internet to extract, still only main account failed.
Tried to use non-valid cookie.txt, it will extract normally. That means it will only fail on extract if the main account cookie.txt is valid.
Tried extract it on W7 and W10 (different computer), still getting the same result.
Main account was working normally on Oct. 10.
Re login the account on the browser to get new cookie.txt does nothing too.
I can watch youtube normally with my main account on the browser.
I used --write-page getting the dump.
Looks like my main account got a different structure of HTML.
Main v32ZQIg1j4Y_https__www.youtube.com_watchv=v32ZQIg1j4Y_gl=US_hl=en_has_verified=1_bpctr=9999999999_disable_polymer=true.txt
ALT v32ZQIg1j4Y_https_-_www.youtube.com_watchv=v32ZQIg1j4Y_gl=US_hl=en_has_verified=1_bpctr=9999999999_disable_polymer=true.txt
The dump is almost the same as CTRL+S on the browser to get the HTML file.
Therefore, I conclude there must be something wrong with my main account.
However, I tried to match all youtube settings in my main and alt account.
The only difference is main account has the channel function opened (for streaming).
Is there any way to fix the extractor for this problem?
The text was updated successfully, but these errors were encountered: