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

Support vod.afreecatv.com (alternate URL structure for already supported Afreeca videos) #11174

Closed
msikma opened this issue Nov 12, 2016 · 0 comments

Comments

@msikma
Copy link

@msikma msikma commented Nov 12, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.11.08.1
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Currently, when loading links starting with vod.afreecatv.com, youtube-dl fails to download the video:

$ youtube-dl "http://vod.afreecatv.com/PLAYER/STATION/15055030"
[generic] 15055030: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 15055030: Downloading webpage
[generic] 15055030: Extracting information
ERROR: Unsupported URL: http://vod.afreecatv.com/PLAYER/STATION/15055030

There are actually alternate URLs for videos of this structure which do work with youtube-dl. See the following example:

$ youtube-dl "http://www.afreecatv.com/player/player.html?nTitleNo=15055030"
[AfreecaTV] 15055030: Downloading XML
[download] Downloading playlist: [생] 이제동 첫방송! 안녕하세요 이제동입니다
[AfreecaTV] playlist [생] 이제동 첫방송! 안녕하세요 이제동입니다: Collected 4 video ids (downloading 4 of them)
[download] Downloading video 1 of 4
[download] Destination: [생] 이제동 첫방송! 안녕하세요 이제동입니다-15055030_1.mp4
[download]  47.8% of 1.48GiB at  2.90MiB/s ETA 04:33
[...]

This is exactly the same video, and it works fine with youtube-dl. The only thing you need is the ID, so the working URL can be inferred from the non-working URL directly. The "PLAYER/STATION" part isn't necessary.

@dstftw dstftw closed this in e58609b Nov 12, 2016
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
1 participant
You can’t perform that action at this time.