Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-18-2012, 12:32 PM   #1
LQ Newbie
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Changing proxy settings for youtube-dl

I installed youtube-dl a few months back and it worked perfectly fine when connected to internet through public wifi hotspots. But I am unable to download videos when these's proxy authentication required while accessing internet. I have gone through the youtube-dl documentation, but I couldn't find my solution there. The error I get now is this:

[youtube] Setting language
WARNING: unable to set language: HTTP Error 407: Proxy Authentication Required
[youtube] BFtv5qe5o3c: Downloading video webpage
ERROR: unable to download video webpage: HTTP Error 407: Proxy Authentication Required

Please help me out, since I am a newbie.
Old 09-18-2012, 11:08 PM   #2
Registered: Oct 2011
Location: New Zealand
Distribution: Debian
Posts: 105

Rep: Reputation: 37
My knowledge on this is not extensive. But I did through necessity manage to get youtube-dl to work on the authenticated proxy at the local university. Your http_proxy environment variable needs to be set with your specifics for username/password, and the IP-address/port of the proxy. If you export that in the shell prior to using youtube-dl, then it should work.

See below for the general format for setting http_proxy, and a generic example. I hope that helps.
export http_proxy=http://username:password@yourproxyaddress:proxyport

export http_proxy=
Happy with ur solution... then tick "yes" and mark as Solved!
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to proxy server though wi fi connection active proxy settings ok ncpanicker Linux - Wireless Networking 3 04-11-2011 03:27 AM
[SOLVED] download from youtube using uni proxy Jesse W Linux - General 1 10-09-2009 09:10 PM
Squid proxy unable to view video Youtube yuth Linux - Server 1 07-23-2009 10:47 AM
mandriva 2007 proxy settings - no proxy.cfg file. shankhs Mandriva 7 06-17-2009 06:27 AM
Changing US keyboard settings to Spain (SP) settings or Mexico. zLinuxz Linux - General 4 12-01-2002 12:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration