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

Download through proxy does not work with new site FranceTV #13071

Closed
ymartin59 opened this issue May 13, 2017 · 1 comment
Closed

Download through proxy does not work with new site FranceTV #13071

ymartin59 opened this issue May 13, 2017 · 1 comment
Labels

Comments

@ymartin59
Copy link

@ymartin59 ymartin59 commented May 13, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.09. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ X] I've verified and I assure that I'm running youtube-dl 2017.05.09

Before submitting an issue make sure you have:

  • [ X] At least skimmed through README and most notably FAQ and BUGS sections
  • [ X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ ~/bin/youtube-dl -v --proxy $http_proxy --write-description --write-info-json https://www.france.tv/france-5/sid-le-petit-scientifique/137375-sauvons-la-souche.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--proxy', u'http://178.32.218.91:80', u'--write-description', u'--write-info-json', u'--ignore-errors', u'https://www.france.tv/france-5/sid-le-petit-scientifique/137375-sauvons-la-souche.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.09
[debug] Python version 2.7.12 - Linux-3.2.40-i686-with-glibc2.0
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.4
[debug] Proxy map: {u'http': u'http://178.32.218.91:80', u'https': u'http://178.32.218.91:80'}
[FranceTV] 137375-sauvons-la-souche: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 500 Internal Server Error> (caused by URLError(error('Tunnel connection failed: 500 Internal Server Error',),))
  File "/var/services/homes/admin/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/var/services/homes/admin/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2106, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/var/services/homes/admin/bin/youtube-dl/youtube_dl/utils.py", line 1090, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)

Description

Download of a video through an HTTP proxy no longer work with FranceTV site whereas it was used to work with pluzz and same proxy. Of course I checked that the HTTP proxy I used works properly for other usage. I am not sure if trouble may be worked-around in youtube-dl itself if proxy usage is detected and rejected server-side.

Again many thanks for the great job you do with this tool.

@ymartin59 ymartin59 changed the title Fix proxy support for new site FranceTV Download through proxy does not work with new site FranceTV May 13, 2017
@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 13, 2017

Your proxy is either dead or blocked.

@dstftw dstftw closed this May 13, 2017
@dstftw dstftw added the invalid label May 13, 2017
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.