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

403 Error on video url after deploying on Heroku #45

Closed
coderkd10 opened this issue Jun 4, 2016 · 2 comments
Closed

403 Error on video url after deploying on Heroku #45

coderkd10 opened this issue Jun 4, 2016 · 2 comments

Comments

@coderkd10
Copy link

I deployed the API Server on Heroku here.
It is up and running. I am able to get the info dictionary of the video at /api/info but I cannot access the video-urls generated (I am getting a 403 Forbidden error). This is probabaly due to the IP constraint that extracting extracting link and downloading it must be done from the same IP.

Here is a example:
Consider the video - https://www.youtube.com/watch?v=rYEDA3JcQqw
Its info dictionary generated by the Heroku server is - https://youtube-dl-backend1.herokuapp.com/api/info?url=https://www.youtube.com/watch?v=rYEDA3JcQqw
Link for the audio of the video is here, which is inaccessible and throws a 403 Forbidden status code.

I am curious is there any way to avoid this?

@jaimeMF
Copy link
Owner

jaimeMF commented Jun 5, 2016

You may have luck trying this: ytdl-org/youtube-dl#9001 (comment).

@jaimeMF jaimeMF closed this as completed Jun 5, 2016
@coderkd10
Copy link
Author

Thanks... its working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants