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

can't fetch subscriptions #2542

Open
FernandoMiguel opened this issue Mar 10, 2014 · 7 comments
Open

can't fetch subscriptions #2542

FernandoMiguel opened this issue Mar 10, 2014 · 7 comments

Comments

@FernandoMiguel
Copy link

@FernandoMiguel FernandoMiguel commented Mar 10, 2014

$ youtube-dl --version
2014.03.10

youtube-dl --verbose -i -u email@domain.tld :ytsubs
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-i', '-u', '', ':ytsubs']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
Type account password and press return:
[debug] youtube-dl version 2014.03.10
[debug] Python version 2.7.6 - Linux-3.13.0-16-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:subscriptions] Downloading login page
[youtube:subscriptions] Logging in
[youtube:subscriptions] subscriptions feed: Downloading page 1
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Collected 0 video ids (downloading 0 of them)

attaching screenshot of my youtube account subscriptions
screenshot from 2014-03-10 23 51 33

@phihag
Copy link
Contributor

@phihag phihag commented Mar 11, 2014

If you add the option --write-pages, you'll see multiple files written to disk. Can you upload them https://gist.github.com/? If you're worried about privacy, feel free to [send them to me via private email](mailto:phihag@phihag.de?subject=youtube-dl:issue+2542:--write-pages output).

@FernandoMiguel
Copy link
Author

@FernandoMiguel FernandoMiguel commented Mar 11, 2014

$ sudo pip install --upgrade youtube_dl
Downloading/unpacking youtube-dl from https://pypi.python.org/packages/source/y/youtube_dl/youtube_dl-2014.03.11.tar.gz#md5=8adf9758f5fd5f9e4b8779daf95631d6
Downloading youtube_dl-2014.03.11.tar.gz (324kB): 324kB downloaded
Running setup.py egg_info for package youtube-dl

Installing collected packages: youtube-dl
Found existing installation: youtube-dl 2014.03.10
Uninstalling youtube-dl:
Successfully uninstalled youtube-dl
Running setup.py install for youtube-dl

Installing youtube-dl script to /usr/local/bin

Successfully installed youtube-dl
Cleaning up...

$ youtube-dl --write-pages --verbose -i -u email@domain.tld :ytsubs
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--write-pages', '--verbose', '-i', '-u', '', ':ytsubs']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
Type account password and press return:
[debug] youtube-dl version 2014.03.11
[debug] Python version 2.7.6 - Linux-3.13.0-16-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:subscriptions] Downloading login page
[youtube:subscriptions] Saving request to None_https_-accounts.google.com_ServiceLogin.dump
[youtube:subscriptions] Logging in
[youtube:subscriptions] Saving request to None_https
-accounts.google.com_ServiceLogin.dump
[youtube:subscriptions] subscriptions feed: Downloading page 1
[youtube:subscriptions] Saving request to subscriptions_feed_https
-_www.youtube.com_feed_ajaxaction_load_system_feed=1_feed_name=subscriptions_paging=0.dump
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Collected 0 video ids (downloading 0 of them)

@FernandoMiguel
Copy link
Author

@FernandoMiguel FernandoMiguel commented Mar 11, 2014

https://gist.github.com/FernandoMiguel/eacb740d36f8df4045e3
https://gist.github.com/FernandoMiguel/0aca7e3fabdc1986be71
taking a look at this, it would appear that my issue is with my 2 Factor Auth.

I did create an app password and tried with that, but no luck

@FernandoMiguel
Copy link
Author

@FernandoMiguel FernandoMiguel commented Mar 11, 2014

this is the output of using an app password from https://accounts.google.com/b/0/IssuedAuthSubTokens

$ youtube-dl --verbose -i -u tldr@fernandomiguel.net :ytsubs
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-i', '-u', '', ':ytsubs']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
Type account password and press return:
[debug] youtube-dl version 2014.03.11
[debug] Python version 2.7.6 - Linux-3.13.0-16-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:subscriptions] Downloading login page
[youtube:subscriptions] Logging in
WARNING: unable to log in: bad username or password
[youtube:subscriptions] subscriptions feed: Downloading page 1
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Collected 0 video ids (downloading 0 of them)

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 16, 2014

Since this seems to be a a problem with the application specific password (it works fine here with the standard credentials), I think we can close this as a duplicate of #1336.

@LollenJumplan
Copy link

@LollenJumplan LollenJumplan commented May 14, 2015

The problem seems to be unsolved still because for me, it still gives 0 videos if I try to download my subscriptions via youtube-dl. Also, I don't understand why it is a problem with authentication, because if I enter a wrong password it tells me that. I run "youtube-dl :ytsubs --username=...", then it asks for my password, goes on if its correct and extracts the feed: 0 videos... If I am doing something wrong here, what do I have to change to get it working?

EDIT: OK, I saw that I actually had 2 factor activated (although I didn't know that), deactivated it and now it WORKS! So sorry for that...

@LollenJumplan
Copy link

@LollenJumplan LollenJumplan commented May 24, 2015

I am experiencing the issue again although my 2-factor auth is turned off at the moment. Also, verbose is not showing any errors. Output:

user@some-host:~$ youtube-dl -i --verbose --username=user@provider.com --download-archive=~/.youtube-dl/archive.list :ytsubs 
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-i', u'--verbose', u'--username=user@provider.com', u'--download-archive=~/.youtube-dl/archive.list', u':ytsubs']
Type account password and press [Return]: 
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.20
[debug] Python version 2.7.10rc1 - Linux-3.16.0-4-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[youtube:subscriptions] Downloading login page
[youtube:subscriptions] Logging in
[youtube:subscriptions] Youtube Subscriptions: Downloading webpage
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Collected 0 video ids (downloading 0 of them)
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
4 participants
You can’t perform that action at this time.