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: Unable to download webpage: '' (caused by BadStatusLine("''",)); #8531

Closed
cyclops24 opened this issue Feb 12, 2016 · 5 comments
Closed

ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); #8531

cyclops24 opened this issue Feb 12, 2016 · 5 comments

Comments

@cyclops24
Copy link

@cyclops24 cyclops24 commented Feb 12, 2016

Hi,
I used youtube-dl later but recently it show this error:

ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); 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.

I try with this command to SSH to my server:
ssh -D 8580 myUsername@myServerIP
And use this command to download youtube video:
youtube-dl https://www.youtube.com/watch?v=jJ5u1FYgFAs --proxy "http://127.0.0.1:8580"

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 12, 2016

What's the output of wget --proxy 127.0.0.1:8580 https://www.youtube.com/watch?v=jJ5u1FYgFAs?

@cyclops24
Copy link
Author

@cyclops24 cyclops24 commented Feb 12, 2016

@dstftw This is my system output:

--2016-02-12 18:56:07--  http://127.0.0.1:8580/
Connecting to 127.0.0.1:8580... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2016-02-12 18:56:08--  (try: 2)  http://127.0.0.1:8580/
Connecting to 127.0.0.1:8580... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2016-02-12 18:56:10--  (try: 3)  http://127.0.0.1:8580/
Connecting to 127.0.0.1:8580... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2016-02-12 18:56:13--  (try: 4)  http://127.0.0.1:8580/
Connecting to 127.0.0.1:8580... connected.
HTTP request sent, awaiting response... No data received.
Retrying.
...

But I can see page with browser (when set proxy on browser)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 12, 2016

Remove http:// from option value: --proxy 127.0.0.1:8580.

@dstftw dstftw closed this Feb 12, 2016
@cyclops24
Copy link
Author

@cyclops24 cyclops24 commented Feb 12, 2016

@dstftw Nothing happen it's also show this error again:

ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); 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.
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 12, 2016

It's obvious that problem is in your proxy since wget does not work either.

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