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 for http://www.andtv.com/ #8873

Open
nigamankit7 opened this issue Mar 16, 2016 · 10 comments
Open

Support for http://www.andtv.com/ #8873

nigamankit7 opened this issue Mar 16, 2016 · 10 comments

Comments

@nigamankit7
Copy link

@nigamankit7 nigamankit7 commented Mar 16, 2016

URL Tested: http://www.andtv.com/shows/bhabi-ji-ghar-par-hai/video/bhabi-ji-ghar-par-hain-episode-272-march-15-2016-full-episode.html

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.andtv.com/shows/bhabi-ji-ghar-par-hai/video/bhabi-ji-ghar-par-hain-episode-272-march-15-2016-full-episode.html']
[debug] Encodings: locale cp1252, fs mbcs, out None, pref cp1252
[debug] youtube-dl version 2016.03.14
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-73189-g7728d23, ffprobe N-73189-g7728d23
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 1627, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1569, in dl
File "youtube_dl\downloader\common.pyo", line 344, in download
File "youtube_dl\downloader\http.pyo", line 58, in real_download
File "youtube_dl\YoutubeDL.pyo", line 1929, in urlopen
File "urllib2.pyo", line 437, in open
File "urllib2.pyo", line 550, in http_response
File "urllib2.pyo", line 475, in error
File "urllib2.pyo", line 409, in _call_chain
File "urllib2.pyo", line 558, in http_error_default
HTTPError: HTTP Error 403: Forbidden

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Mar 20, 2016

This video is an embedded YouTube video. You can download it via:

youtube-dl "https://www.youtube.com/watch?v=Mvm-HDQrdXs"
@nigamankit7
Copy link
Author

@nigamankit7 nigamankit7 commented Mar 20, 2016

Thanks for the response @yan12125. However tested link contains full episode of 30 min but the embedded YouTube link you shared contains only 5 min. of promo.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Mar 20, 2016

On the webpage I see only one 5-min YouTube video. There's a button "Click here to watch full", while it leads me to the original page with the same YouTube video. Could you point out where the full video is?

@nigamankit7
Copy link
Author

@nigamankit7 nigamankit7 commented Mar 20, 2016

Video is right there on the Web page - http://www.andtv.com/shows/bhabi-ji-ghar-par-hai/video/bhabi-ji-ghar-par-hain-episode-272-march-15-2016-full-episode.html

Wondering if video is blocked on region level. If possible you may check it via Indian proxy.

Will share the screen shot shortly.

@nigamankit7
Copy link
Author

@nigamankit7 nigamankit7 commented Mar 20, 2016

Mobile Screenshot -http://pho.to/A4nrS

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Mar 20, 2016

No luck with either mobile browsers or India proxies.

@nigamankit7
Copy link
Author

@nigamankit7 nigamankit7 commented Mar 21, 2016

Is there anything else I can share to fix this. Like HTML source or YouTubedl log etc.

@EnginePod
Copy link

@EnginePod EnginePod commented Mar 28, 2016

Not familiar with the site, but I can confirm that the video on the page is 14 minutes while the YT video is 5 mins (I'm not in India btw).

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Mar 29, 2016

An excerpt from the source code of this video:

var region = ['in', 'pk', 'bd', 'my', 'np', 'us'];

The full video is available in these regions only. I guess the first one is India and the last one is United States. Sometimes I can watch the full video with a US proxy, while it's not stable enough for me to analyze its network traffic - will try more.

@nigamankit7
Copy link
Author

@nigamankit7 nigamankit7 commented Mar 30, 2016

Thanks for pointing that out @yan12125.
in = India
pk = Pakistan
bd = Bangladesh
my = Malaysia
np = Nepal
us = United States

List - http://www.worldatlas.com/aatlas/ctycodes.htm

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.