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

no longer working with http://pluzz.francetv.fr/ #3963

Closed
lionel-lbr opened this issue Oct 16, 2014 · 18 comments
Closed

no longer working with http://pluzz.francetv.fr/ #3963

lionel-lbr opened this issue Oct 16, 2014 · 18 comments

Comments

@lionel-lbr
Copy link

@lionel-lbr lionel-lbr commented Oct 16, 2014

download from http://pluzz.francetv.fr/ seem to be broken. i tried with update 10.12, 10.13 & 10.15, with always the same result.

i'm on Ubuntu 14 64 bits with python 2.7

here is the log with --verbose
youtube-dl -o '%(upload_date)s-%(title)s.%(ext)s' --restrict-filenames --verbose http://pluzz.francetv.fr/videos/c_a_vous.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', '%(upload_date)s-%(title)s.%(ext)s', '--restrict-filenames', '--verbose', 'http://pluzz.francetv.fr/videos/c_a_vous.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.15
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[pluzz.francetv.fr] c_a_vous: Downloading webpage
[pluzz.francetv.fr] 110656688: Downloading video JSON
[pluzz.francetv.fr] 110656688: Downloading f4m manifest token
[pluzz.francetv.fr] 110656688: Downloading f4m manifest
[pluzz.francetv.fr] 110656688: Downloading webpage
[debug] Invoking downloader on u'http://ftvodhdsecz-f.akamaihd.net//z/streaming-adaptatif_france-dom-tom/2014/S42/J3/110656688-20141015-,398,632,934,k.mp4.csmil/manifest.f4m?hdnea=exp=1413465879~acl=%2fz%2fstreaming-adaptatif_france-dom-tom%2f2014%2fS42%2fJ3%2f110656688-20141015-*~hmac=79c4ab030b1c1b78bac0d8914581672c3d4ebb39e9a631e4bf1f34ab4942b5a9'
[download] Downloading f4m manifest
[download] Destination: 20141015-C_vous.flv
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1037, in process_info
success = dl(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1013, in dl
return fd.download(name, info)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 292, in download
return self.real_download(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/f4m.py", line 299, in real_download
success = http_dl.download(frag_filename, {'url': url})
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 292, in download
return self.real_download(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 64, in real_download
data = self.ydl.urlopen(request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1266, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Note that i'm located in France and that the video play fine in Chrome. youtube-dl worked fine with this site until last Monday.

@lionel-lbr lionel-lbr changed the title longer working with http://pluzz.francetv.fr/ no longer working with http://pluzz.francetv.fr/ Oct 16, 2014
@lionel-lbr
Copy link
Author

@lionel-lbr lionel-lbr commented Oct 25, 2014

please try: youtube-dl pluzz.francetv.fr/videos/c_a_vous.html

i still get the error.

On Sat, Oct 25, 2014 at 9:36 AM, midas02 notifications@github.com wrote:

Just tried it. Still works fine.


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

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 25, 2014

This video is georestricted. Can you watch it in browser?

@lionel-lbr
Copy link
Author

@lionel-lbr lionel-lbr commented Oct 25, 2014

Yes I can watch it in the browser with no problem.

I think the site somehow find out the request is not coming from the browser and reject it. But I don't know how it find out.

I've tried with the --user-agent option with the same unsuccessful result.

L.

Sent from my iPhone

On 2014Äê10ÔÂ25ÈÕ, at 13:58, "Sergey M." notifications@github.com wrote:

This video is georestricted. Can you watch it in browser?

¡ª
Reply to this email directly or view it on GitHub.

@flopraden
Copy link

@flopraden flopraden commented Oct 30, 2014

I can confirm this issue with another show and I'm in France.

@Roman2K
Copy link
Contributor

@Roman2K Roman2K commented Nov 7, 2014

For the record, I just successfully downloaded a video with youtube-dl v2014.11.04 installed via Homebrew. (Awesome job, btw!)

@lionel-lbr
Copy link
Author

@lionel-lbr lionel-lbr commented Nov 7, 2014

Could you provide the link of the video?

Sent from my iPhone

On 2014Äê11ÔÂ7ÈÕ, at 17:51, Roman Le N¨¦grate notifications@github.com wrote:

For the record, I just successfully downloaded a video with youtube-dl v2014.11.04 installed via Homebrew.

¡ª
Reply to this email directly or view it on GitHub.

@Roman2K
Copy link
Contributor

@Roman2K Roman2K commented Nov 7, 2014

Of course (I did but you didn't notice, "a video" links to the video), here you go: http://pluzz.francetv.fr/videos/cash_investigation.html

@lionel-lbr
Copy link
Author

@lionel-lbr lionel-lbr commented Nov 8, 2014

Hi,

@roman, your link works fine because he is no geo- restricted, meaning it
can be watch through the browser from abroad.
My link http://pluzz.francetv.fr/videos/c_a_vous.html, and if you attend to
watch through a browser it'll show a message" this video is not accessible
from your territory, etc ..."

The thing is that i'm using a web server located in France, and it works
fine from the browser, but not from youtube-dl. Which would mean that
pluzz.francetv has a way to find out you you're using a tool instead the
browser ...

Note that for that particular site i'm now using pluzzdl. The project can
be downlaoded here: https://code.google.com/p/tvdownloader/wiki/pluzzdl
and there is a page on ubuntu: http://doc.ubuntu-fr.org/tvdownloader

hope this help

I think your link is not geo-restricted

On Fri, Nov 7, 2014 at 6:02 PM, Roman Le Négrate notifications@github.com
wrote:

Of course (I did but you didn't notice, "a video" links to the video),
here you go: http://pluzz.francetv.fr/videos/cash_investigation.html


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

@Roman2K
Copy link
Contributor

@Roman2K Roman2K commented Nov 20, 2014

@lbrahami Confirmed not working with http://pluzz.francetv.fr/videos/c_a_vous.html

  • Chrome
    • proxy (US): error saying the video isn't available abroad
    • direct (France): OK
  • youtube-dl
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 24, 2014

Could someone from france test if the m3u8 formats download fine? You just need to run youtube-dl URL -F and look for the m3u8-* formats and then run youtube-dl URL -f m3u8-<number>.

@Roman2K
Copy link
Contributor

@Roman2K Roman2K commented Nov 24, 2014

@jaimeMF Seems fine: https://gist.github.com/Roman2K/09b1fa6e6345e3ce4360 (forgot the -v though, sorry).

@jaimeMF jaimeMF closed this in 00e9d39 Nov 24, 2014
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 24, 2014

Thanks for checking it, in the next version it won't use the f4m manifest url and will use the m3u8 instead.

@quark67
Copy link

@quark67 quark67 commented Nov 24, 2014

You don't need to close this issue. And you must read more carefully the issue 4142. I can download videos on pluzz (I'm in France, if there is geographic restrictions) but yet I must specify the format m3u8 (who give .mp4). If I specify no format (no -f option), youtube-dl try to download .flv and fail. But who want to download .flv on 2014 ? Why does youtube-dl not download by default a .mp4 file ? Can you update youtube-dl, so it download by default a .mp4 file (at least, on Pluzz) ? Thanks.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 24, 2014

Sorry, I hadn't read your issue. I don't know if it's true for pluzz but the flv videos could have a better quality and we use ffmpeg for downloading with the m3u8 manifest, which may be slower. For future discussion, please use #4142.

@naglis
Copy link
Collaborator

@naglis naglis commented Nov 24, 2014

Hi, I have taken a look at this previously, and the two other issues (#4142, #4096) looked like duplicates, because: although the f4m manifest downloads ok, the individual fragments fail (I've used Tor). The flash player seems to add additional query tokens to the fragment URLs, and I couldn't quite find a way how to work around them (maybe I'm to stupid and have missed something). It seemed to be to big of a hassle too, because that would mean editing fragment URLs after extracting them in the f4m downloader. To make things worse, this seems to be happening only with pluzz, f4m downloads seem to work OK for other FranceTV services, francetvinfo.fr for instance.

@quark67
Copy link

@quark67 quark67 commented Nov 24, 2014

To jaimeMF : I'm on OS X, and .mp4 is better than .flv. QuickTime, the default video player on OS X, read .mp4. We can read .mp4 on computer or mobile device (not only on iOS, but on Android too). .flv is Flash, an old technology. I know than on Linux, .mp4 can be read, for example with VLC.

To all : can you made the code so that on OS X, it download preferably .mp4 (m3u8) when it is available ? I suppose the code can detect the system, no ?

And a thing is very strange : on a older version of youtube-dl, it has by default downloaded a .mp4 video on pluzz. Why in recent version, do youtube-dl try to download the .flv version ?

Thanks.

I will yet continue the discuss on issue #4142, as jaimeMF suggest.

@Roman2K
Copy link
Contributor

@Roman2K Roman2K commented Nov 25, 2014

@quark67

I'm on OS X, and .mp4 is better than .flv. QuickTime, the default video player on OS X, read .mp4. We can read .mp4 on computer or mobile device (not only on iOS, but on Android too). .flv is Flash, an old technology.

FLV is just a container format, not the actual video stream within the file, it doesn't have an impact on video quality, at least not directly. Video quality depends more on the video codecs supported by that container, and FLV supports H.264 among others, which isn't too shabby IMO.

I know than on Linux, .mp4 can be read, for example with VLC.

VLC plays FLVs just fine in all OSes, Linux included. Other Linux-compatible libavcodec-based players too, like MPlayer and xine.

That said, if choice is available between FLV and an ISO container format like MP4, I would tend to side with your preference as well :-)

@ytdl-org ytdl-org locked and limited conversation to collaborators Oct 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.