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

Twitch URL collects 0 video IDs and thus fails #3986

Closed
mcymo opened this issue Oct 19, 2014 · 8 comments
Closed

Twitch URL collects 0 video IDs and thus fails #3986

mcymo opened this issue Oct 19, 2014 · 8 comments
Assignees
Labels
bug

Comments

@mcymo
Copy link

@mcymo mcymo commented Oct 19, 2014

Hi,

firstly I want to thank you for the program, it has brought me a lot of joy. I don't only want to write "complaints" leaving out that 99.9% of the time all this is awesome.

So, youtube-dl seems to not collect video IDs from twitch.tv anymore, I can't really tell when this started because I haven't downloaded from there in a while, but not more than two months and very likely it's a rather recent development. The URLs I tried to download are from this address:

http://www.twitch.tv/gsl/profile/past_broadcasts

So usually I copy paste into a list and then youtube-dl gets it, not this time, so let's see if other have that problem, too. I use
Kubuntu Linux Kernel 3.13.0-37-generic
KDE Verison: 4.13.3

To conclude best regards to the whole team

mcymo

START READING HERE FOR INPUT AND OUTPUT

INPUT

youtube -dl --verbose http://www.twitch.tv/gsl/b/574745064

OUTPUT

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.twitch.tv/gsl/b/574745064']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.18
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[Twitch] 574745064: Downloading video info JSON
[Twitch] 574745064: Downloading video playlist JSON
[download] Downloading playlist: Code S Grand Finals Set 3, 2014 GSL Season 3.mp4
[Twitch] playlist Code S Grand Finals Set 3, 2014 GSL Season 3.mp4: Collected 0 video ids (downloading 0 of them)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 19, 2014

That's because this video requires paid subscription according to twitch player. So we'll need at least to implement authentication with twitch credentials.

@dstftw dstftw added the bug label Oct 19, 2014
@mcymo
Copy link
Author

@mcymo mcymo commented Oct 19, 2014

Oh,

I'm sorry, that's a new thing. Up until now the videos were gratis. I don't
use flash, so players don't load in my browser.

Sorry to have bothered you.

Mcymo

On Sunday 19 October 2014 07:41:38 Sergey M. wrote:

That's because this video requires paid subscription according to twitch
player. So we'll need at least to implement authentication with twitch
credentials.


Reply to this email directly or view it on GitHub:
#3986 (comment)

@haasn
Copy link
Contributor

@haasn haasn commented Dec 6, 2014

Is adding authentication a planned change, or is this more “won't fix” territory?

I would consider buying a paid subscription to one of the channels I want to continue watching, but without youtube-dl support my subscription would be completely useless. (I refuse to install/use Flash)

@phihag
Copy link
Contributor

@phihag phihag commented Dec 6, 2014

We definitely intend to add support for twitch.tv logins, and you are more than welcome to add a pull request.

@dstftw dstftw self-assigned this Dec 6, 2014
dstftw added a commit that referenced this issue Dec 6, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 6, 2014

Added authentication support. Anyone with paid subscription to test?

@dercorny
Copy link

@dercorny dercorny commented Feb 28, 2015

Hi,
I've tested this with a paid subscription and it does not quite work. Does the code take care of the authenticity_token (see dump - I've XXXXed the value out but didnt touch anything apart from that)?

[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', '-u', u'PRIVATE', '-p', u'PRIVATE', '--write-pages', 'http://www.twitch.tv/gsl/b/630344073']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2015.02.11
[debug] Python version 2.7.8 - Linux-3.17.8-300.fc21.x86_64-x86_64-with-fedora-21-Twenty_One
[debug] exe versions: ffmpeg 2.4.6, ffprobe 2.4.6
[debug] Proxy map: {}

Dumps are available at: https://app.dumptruck.goldenfrog.com/p/Vu38sj6OOf

@dstftw dstftw closed this in 0d103de Feb 28, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 28, 2015

Thanks for the report.
Paid subscription videos will be supported in the next version.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 28, 2015

I believe this issue to be fixed in youtube-dl 2015.02.28. See our FAQ if you need help updating.

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
5 participants
You can’t perform that action at this time.