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

is my server is blocked #5092

Closed
funfarooq opened this issue Mar 1, 2015 · 21 comments
Closed

is my server is blocked #5092

funfarooq opened this issue Mar 1, 2015 · 21 comments

Comments

@funfarooq
Copy link

@funfarooq funfarooq commented Mar 1, 2015

hi

i am using youtube-dl quite a while now . on my server . now today i am able to download from other site like daily motion but not from youtube. is that mean i have banned by youtube. if i change dedicated ip adress of my server with same domain name would it work. or do i need to get new server and domain name. could you help me out

regards
farooq shaik

@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

As mentioned in our issue reporting guidelines, please post the output you get when you run youtube-dl with the -v option on any video (on the server of course). Without that output, we can just speculate what happened. With that output, we can pin down or even outright solve the error.

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

thanks for replying fast phihag . i try to as informative as possible.

  1. i am using latest version i have got new youtube-dl with -U command on local machine and uploaded to server

2.this is what i see on output screen when i execute
[youtube] rClUpezLmrY: Downloading webpage
python youtube-dl http://www.youtube.com/watch?v=rClUpezLmrY this in server though php where as other youtube-dl commands such as youtube-dl -h are working fine and i am able to see the out put.

3.version of youtube-dl is 2015.02.28 when i run -v option.

the other thing when use command like python youtube-dl http://www.dailymotion.com/video/x2hkbp5_desi-look-video-song-sunny-leone-ek-paheli-leela-music-dr-zeus_music its getting downloaded on server

so my concern is its working with dailymotion not with youtube. so do i say that i am blocked by youtube . and is there any way to get unblocked

@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

Please post the entire output with -v, when it does not work.

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

[youtube] rClUpezLmrY: Downloading webpage

this is the entire out put what i see on my browser

$string2 = 'python youtube-dl -v http://www.youtube.com/watch?v=rClUpezLmrY';

exec($string2, $result, $status); execute this
@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

exec just returns the first line. Please either output $status or use system instead. Also make sure that your command line includes 2>&1 - otherwise you won't see stderr output.

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

exec returns the first line . everything was fine till yesterday and this thing happened today it self. is that means youtube blocked my server. i am new to php i dont know all those commands could you give me a line of code you want me to execute on system and give you out put

@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

Yes, please give me the output you get with system. Without that, I cannot tell you what's happening here.

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

system($string2, $result, $status);

youtube] rClUpezLmrY: Downloading webpage {"":1}

this gave me this sir

@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

Oh, come on. Please post the complete output you get with

<?php
system("youtube-dl -v 'http://www.youtube.com/watch?v=rClUpezLmrY' 2>&1");

That is assuming that you did follow our manual installation instructions. If you did not, you need to substitute youtube-dl with the way you execute youtube-dl, for example python ./youtube-dl.

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

phihag please bare with me . i did followed complete instructions mine is linux based server. it was working till yesterday . i ran the above command you gave me.

&1"); first it did not execute i have modified code little now the out put i got is this i modified it with system("python youtube-dl -v 'http://www.youtube.com/watch?v=rClUpezLmrY' 2>&1"); [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=rClUpezLmrY'] [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968 [debug] youtube-dl version 2015.02.28 [debug] Python version 2.6.6 - Linux-3.12.35.1418868451-x86_64-with-centos-6.6-Final [debug] exe versions: none [debug] Proxy map: {} [youtube] rClUpezLmrY: Downloading webpage ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "youtube-dl/youtube_dl/extractor/common.py", line 314, in _request_webpage return self._downloader.urlopen(url_or_request) File "youtube-dl/youtube_dl/YoutubeDL.py", line 1666, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib64/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.6/urllib2.py", line 435, in error return self._call_chain(_args) File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain result = func(_args) File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

can you guide me what is going on sir so that i can search for alternatives

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

is there any way to use proxy easily

On Sun, Mar 1, 2015 at 2:40 PM, Philipp Hagemeister <
notifications@github.com> wrote:

Oh, come on. Please post the complete output you get with

&1"); That is assuming that you did follow our manual installation instructions http://rg3.github.io/youtube-dl/download.html. If you did not, you need to substitute youtube-dl with the way you execute youtube-dl, for example python ./youtube-dl. ## Reply to this email directly or view it on GitHub https://github.com//issues/5092#issuecomment-76588915.

Farooq shaik
mohammadiya technologies

@phihag phihag closed this in 66dc9a3 Mar 1, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

You are indeed blocked by YouTube because of overuse. Contact them and ask them to unblock your IP address, or - if you have acquired a whitelisted IP address already - use the --proxy or --network-address options to select another IP address.

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

i dont have any such things will youtube will unblock my server ip address . did they allow me to use youtube-dl can you provide me any working proxies i need to fix it quick please

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Mar 1, 2015

how to acquire this whitelisted ip address your talking about

On Sun, Mar 1, 2015 at 4:36 PM, Philipp Hagemeister <
notifications@github.com> wrote:

You are indeed blocked by YouTube because of overuse. Contact them and ask
them to unblock your IP address, or - if you have acquired a whitelisted IP
address already - use the --proxy or --network-address options
<#14bd5047f9b24cba_network-options> to select another IP address.

Reply to this email directly or view it on GitHub
#5092 (comment).

Farooq shaik
mohammadiya technologies

@phihag
Copy link
Contributor

@phihag phihag commented Mar 1, 2015

As I wrote above, you'll need to contact YouTube sales for any more information about how to enable more downloading.

@jlsjonas
Copy link

@jlsjonas jlsjonas commented Nov 6, 2016

Hi

I'm also getting the "HTTP Error 429: Too Many Requests (caused by HTTPError())" on youtube; however this is a clean install, first time using it on that server. Tried another server and same thing there? Are whole datacenters being blocked?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 7, 2016

Are whole datacenters being blocked?

yes that's possible

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Nov 7, 2016

try some other server or using php curl methods to generate requried links

On Mon, Nov 7, 2016 at 8:32 AM, Yen Chi Hsuan notifications@github.com
wrote:

Are whole datacenters being blocked?

yes that's possible


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5092 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKu3NbYm8thWfHHHVI53oiebAxHdCTlgks5q7pS5gaJpZM4Dnnyw
.

Farooq shaik
mohammadiya technologies

@jlsjonas
Copy link

@jlsjonas jlsjonas commented Nov 7, 2016

seemed like it was/is an ipv6 issue, ipv4 just works... I'm guessing they might be grouping too big ranges

@funfarooq
Copy link
Author

@funfarooq funfarooq commented Nov 8, 2016

something worked . i have to stop using server for several days months
before the ip was unlocked in my case and i have tried heroku services for
a while

On Tue, Nov 8, 2016 at 4:11 AM, Jonas De Kegel notifications@github.com
wrote:

seemed like it was/is an ipv6 issue, ipv4 just works... I'm guessing they
might be grouping too big ranges


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5092 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKu3NZAc0hlqZw9ft7HAvc5S8ZCejad6ks5q76kHgaJpZM4Dnnyw
.

Farooq shaik
mohammadiya technologies

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
4 participants
You can’t perform that action at this time.