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

TF1 broken ? #9862

Closed
MichelLopez opened this issue Jun 22, 2016 · 4 comments
Closed

TF1 broken ? #9862

MichelLopez opened this issue Jun 22, 2016 · 4 comments

Comments

@MichelLopez
Copy link

@MichelLopez MichelLopez commented Jun 22, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • I've verified and I assure that I'm running youtube-dl 2016.06.23

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • 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

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

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 ```):

youtube-dl.exe -v http://lci.tf1.fr/jt-20h/videos/2016/le-20-heures-du-22-juin-2016-8752713.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://lci.tf1.fr/jt-20h/videos/2016/le-20-heures-du-22-juin-2016-8752713.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.06.23
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: ffmpeg N-55337-gb45b1d7
[debug] Proxy map: {}
[TF1] le-20-heures-du-22-juin-2016-8752713: Downloading webpage
[wat.tv] 11130442: Downloading JSON metadata
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\__init__.py", line 420, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\__init__.py", line 410, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\YoutubeDL.py", line 1740, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\YoutubeDL.py", line 687, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\YoutubeDL.py", line 740, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\YoutubeDL.py", line 676, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\extractor\common.py", line 343, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpi15lg598\build\youtube_dl\extractor\wat.py", line 56, in _real_extract
AttributeError: 'NoneType' object has no attribute 'get'

---
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jun 22, 2016

will be fixed in the next version.

@sbouafif
Copy link

@sbouafif sbouafif commented Aug 8, 2016

@remitamine not working again

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 9, 2016

@sbouafif Works for me. Please post the full verbose log like this:

$ youtube-dl -v http://lci.tf1.fr/jt-20h/videos/2016/le-20-heures-du-22-juin-2016-8752713.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://lci.tf1.fr/jt-20h/videos/2016/le-20-heures-du-22-juin-2016-8752713.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.07
[debug] Git HEAD: b657816
[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: {}
[TF1] le-20-heures-du-22-juin-2016-8752713: Downloading webpage
[wat.tv] 13044241: Downloading JSON metadata
[wat.tv] 13044241: Extracting m3u8 url
[wat.tv] 13044241: Extracting http url
[wat.tv] 13044241: Downloading m3u8 information
[wat.tv] 13044241: Downloading f4m manifest
[debug] Invoking downloader on 'http://dnl.adv.tf1.fr/2/USP-0x0/42/41/13044241/ssm/13044241-2500-64k.mp4'
[download] Destination: Les titres du JT de 20h du mercredi 22 juin 2016-13044241.mp4
[download]   0.6% of 692.12MiB at 695.70KiB/s ETA 16:52^C

ERROR: Interrupted by user
@sbouafif
Copy link

@sbouafif sbouafif commented Aug 9, 2016

@yan12125 It's odd. I tried it on a few videos and have a different output/error each time.

Here's a few tests I tried, getting a 403 Forbidden, a "Sorry, this video is not available from your country" while I was watching the video (same ip) and a working one.


s:~/ $ youtube-dl -v http://www.tf1.fr/tf1/ninja-warrior/videos/ninja-warrior-5-aout-2016.html             [12:16:07]
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.tf1.fr/tf1/ninja-warrior/videos/ninja-warrior-5-aout-2016.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.07
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[TF1] ninja-warrior-5-aout-2016: Downloading webpage
[wat.tv] 13234582: Downloading JSON metadata
[wat.tv] 13234582: Extracting m3u8 url
[wat.tv] 13234582: Extracting http url
[wat.tv] 13234582: Downloading m3u8 information
[wat.tv] 13234582: Downloading f4m manifest
[debug] Invoking downloader on u'http://dnl.adv.tf1.fr/2/USP-0x0/45/82/13234582/ssm/13234582-2500-64k.mp4'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1683, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1625, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1985, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

s:~/ $ youtube-dl -v http://www.tf1.fr/tf1/flash/videos/flash-episode-10-saison-02-course-ralenti.html     [12:16:20]
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.tf1.fr/tf1/flash/videos/flash-episode-10-saison-02-course-ralenti.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.07
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[TF1] flash-episode-10-saison-02-course-ralenti: Downloading webpage
[wat.tv] 13235543: Downloading JSON metadata
[wat.tv] 13235543: Extracting m3u8 url
ERROR: wat.tv said: Sorry, this video is not available from your country.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 682, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/wat.py", line 86, in _real_extract
    m3u8_url = extract_url('ipad/%s.m3u8', 'm3u8')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/wat.py", line 83, in extract_url
    expected=True)
ExtractorError: wat.tv said: Sorry, this video is not available from your country.

s:~/ $ youtube-dl -v http://www.tf1.fr/tf1/une-famille-formidable/videos/une-famille-formidable-l-enigme-papas-perdus-1.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.tf1.fr/tf1/une-famille-formidable/videos/une-famille-formidable-l-enigme-papas-perdus-1.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.07
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[TF1] une-famille-formidable-l-enigme-papas-perdus-1: Downloading webpage
[wat.tv] 13235312: Downloading JSON metadata
[wat.tv] 13235312: Extracting m3u8 url
[wat.tv] 13235312: Extracting http url
[wat.tv] 13235312: Downloading m3u8 information
[wat.tv] 13235312: Downloading f4m manifest
[debug] Invoking downloader on u'http://dnl.adv.tf1.fr/2/USP-0x0/53/12/13235312/ssm/13235312-2500-64k.mp4'
[download] Destination: Une famille formidable - L'énigme des papas perdus-13235312.mp4
[download]   0.1% of 1.73GiB at  2.02MiB/s ETA 14:38^C
ERROR: Interrupted by user

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 9, 2016

The got the same errors from youtube-dl. In browsers, both the first and the second video say:

Ce contenu ñ'est disponible depuis votre zone géographique

Did you use any proxy or VPN?

@sbouafif
Copy link

@sbouafif sbouafif commented Aug 10, 2016

No proxy or vpn. I live in France where TF1 operates

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 10, 2016

I've tried several France proxies and all give the same geolocation message. Anyway could you open a new issue for your problem?

@sbouafif
Copy link

@sbouafif sbouafif commented Aug 10, 2016

done #10281

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.