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

Restricted video play back for certain IP addresses #2241

Closed
DeveloperXX opened this issue Jan 26, 2014 · 3 comments
Closed

Restricted video play back for certain IP addresses #2241

DeveloperXX opened this issue Jan 26, 2014 · 3 comments

Comments

@DeveloperXX
Copy link

@DeveloperXX DeveloperXX commented Jan 26, 2014

I noticed that from certain ip addresses, certain youtube videos do not play. Quite a fair number actually. I'm not sure if youtube is restricting playback on the basis of country or IPaddress, but I'm leaning toward the former, because I've found that for those ip addresses that can't play videos , there are ip addresses from the same country that can.

My question is, is there a way to either:

  1. get these ip addresses to play these non playable videos
  2. exclude these non playable videos from search results for the effected IP addresses

I also observed these IP addresses do not play these videos on youtube's site on a computer, nor on their app, nor on similar apps.

Any input, suggestions, help would be appreciated!
Thanks :)

@phihag
Copy link
Contributor

@phihag phihag commented Jan 30, 2014

Can you share the precise error you get, when calling youtube-dl with the -v option from one of the problematic IPs? What error message do you get when you are trying to access the YouTube website?

@dstftw dstftw closed this Jan 24, 2016
@pkpawan460
Copy link

@pkpawan460 pkpawan460 commented Aug 6, 2016

I am geting error Grabbing original file location(s) failed. Youtube error message: This video contains content from Tseries Music. It is restricted from playback on certain sites. &cver=1.20160804&enablecsi=1&eventid=-oOlV6GyGsXb8gTO84egDw&cosver=6.1&cbr=Firefox&cos=Windows&status=fail&errorcode=150&atc=a=3&b=Ez63IQLhLawG1vsl9fb84T3Ma0Q&c=1470465018&d=1&e=nCD2hj6zJEc&c3a=22&hh=rNbartR12IlEOLCM3Y8PHA5ToXw&csi_page_type=embed&errordetail=0&c=WEB

while try to convert in mp3 on url

https://www.youtube.com/watch?v=nCD2hj6zJEc

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 6, 2016

Works for me:

$ youtube-dl -vF "https://www.youtube.com/watch?v=nCD2hj6zJEc"               
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vF', 'https://www.youtube.com/watch?v=nCD2hj6zJEc']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.06
[debug] Git HEAD: d8f2a3b
[debug] Python version 3.5.2 - Linux-4.6.5-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] nCD2hj6zJEc: Downloading webpage
[youtube] nCD2hj6zJEc: Downloading video info webpage
[youtube] nCD2hj6zJEc: Extracting video information
[youtube] {22} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] nCD2hj6zJEc: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflHuW2fm/base.js
[youtube] {43} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {18} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {36} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {17} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {137} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {248} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {136} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {247} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {135} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {244} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {134} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {243} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {133} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {242} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {160} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {278} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {140} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {171} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {249} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {250} signature length 45.43, html5 player en_US-vflHuW2fm
[youtube] {251} signature length 45.43, html5 player en_US-vflHuW2fm
[info] Available formats for nCD2hj6zJEc:
format code  extension  resolution note
249          webm       audio only DASH audio   57k , opus @ 50k, 1.97MiB
250          webm       audio only DASH audio   85k , opus @ 70k, 2.76MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k, 4.61MiB
171          webm       audio only DASH audio  138k , vorbis@128k, 4.79MiB
251          webm       audio only DASH audio  165k , opus @160k, 5.36MiB
160          mp4        256x144    144p  112k , avc1.4d400c, 25fps, video only, 3.97MiB
278          webm       256x144    144p  152k , webm container, vp9, 13fps, video only, 3.69MiB
133          mp4        426x240    240p  252k , avc1.4d4015, 25fps, video only, 8.91MiB
242          webm       426x240    240p  288k , vp9, 25fps, video only, 8.28MiB
243          webm       640x360    360p  510k , vp9, 25fps, video only, 14.98MiB
134          mp4        640x360    360p  641k , avc1.4d401e, 25fps, video only, 17.71MiB
244          webm       854x480    480p  960k , vp9, 25fps, video only, 27.25MiB
135          mp4        854x480    480p 1173k , avc1.4d401e, 25fps, video only, 33.83MiB
247          webm       1280x720   720p 1856k , vp9, 25fps, video only, 52.13MiB
136          mp4        1280x720   720p 2321k , avc1.4d401f, 25fps, video only, 60.55MiB
248          webm       1920x1080  1080p 3741k , vp9, 25fps, video only, 91.64MiB
137          mp4        1920x1080  1080p 4338k , avc1.640028, 25fps, video only, 103.11MiB
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3,  mp4a.40.2
43           webm       640x360    medium , vp8.0,  vorbis@128k
18           mp4        640x360    medium , avc1.42001E,  mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F,  mp4a.40.2@192k (best)

Please post your command and the full output.

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.