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

ERROR: FAIL on afreecatv vods #15507

Closed
coys1031 opened this issue Feb 6, 2018 · 4 comments
Closed

ERROR: FAIL on afreecatv vods #15507

coys1031 opened this issue Feb 6, 2018 · 4 comments

Comments

@coys1031
Copy link

@coys1031 coys1031 commented Feb 6, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2018.02.04

Before submitting an issue make sure you have:

  • [ x] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones
  • [ x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [x ] 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

When I try to execute the address below on afreecatv, I get a fail message


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl http://vod.afreecatv.com/PLAYER/STATION/30523154
[afreecatv] 30523154: Downloading XML
ERROR: afreecatv said: FAIL

youtube-dl http://vod.afreecatv.com/PLAYER/STATION/30507968
[afreecatv] 30507968: Downloading XML
ERROR: afreecatv said: FAIL
...
<end of log>

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):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

I have tried different websites, but resulted in same issue as above- The word error:fail shows up.
This my first time writing out an issue- I apologize in advance if any formatting is corrupt. Thanks for your help!

@dstftw dstftw closed this Feb 6, 2018
@dstftw dstftw added the invalid label Feb 6, 2018
@dstftw dstftw reopened this Feb 6, 2018
@dstftw dstftw removed the invalid label Feb 6, 2018
@dstftw dstftw closed this in fde677f Feb 6, 2018
@coys1031
Copy link
Author

@coys1031 coys1031 commented Feb 6, 2018

hello, thanks for your reply. I saw that you showed the locale error.

However, the same issue exists for a non-locale restricting afreecatv video. Here is a link:
http://vod.afreecatv.com/PLAYER/STATION/30529210

Thanks for your continued help.

@coys1031
Copy link
Author

@coys1031 coys1031 commented Feb 9, 2018

@vkorablin
Copy link

@vkorablin vkorablin commented Feb 9, 2018

After a little bit of investigating, here's what's needed to fix this: Afreeca now requires two new query parameters for the get_video_info.php endpoint:

http://afbbs.afreecatv.com:8080/api/video/get_video_info.php?nStationNo=12485253&nBbsNo=24756004&nTitleNo=30561002

This URL works as long as the referer header is set up correctly as well. (As already fixed in fde677f ).

I'm not sure where it's easiest to acquire the nStationNo and nBbsNo parameters, but one place they're available is in the source code of the video page itself: http://vod.afreecatv.com/PLAYER/STATION/30561002

The HEAD element contains a link to an embedded player in a meta tag with, among others, the parameters that we require: <META property="og:video" content="http://vod.afreecatv.com/embed.php?isAfreeca=false&autoPlay=true&showChat=true&szBjId=momo130&nStationNo=12485253&nBbsNo=24756004&nTitleNo=30561002&szCategory=00010000&szPart=REVIEW&type=station&szSysType=html5" />

@coys1031
Copy link
Author

@coys1031 coys1031 commented Feb 9, 2018

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.