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

Add support for tmc.tv #2640

Closed
phihag opened this issue Mar 27, 2014 · 2 comments
Closed

Add support for tmc.tv #2640

phihag opened this issue Mar 27, 2014 · 2 comments

Comments

@phihag
Copy link
Contributor

@phihag phihag commented Mar 27, 2014

(Reported by Julien) The following download fails:

$ youtube-dl  -v http://videos.tmc.tv/90-enquetes/dans-le-secret-des-operations-commando-de-la-gendarmie-8390227-848.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://videos.tmc.tv/90-enquetes/dans-le-secret-des-operations-commando-de-la-gendarmie-8390227-848.html']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.27.1
[debug] Git HEAD: 0dae508
[debug] Python version 2.7.6 - Linux-3.13-1-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[generic] dans-le-secret-des-operations-commando-de-la-gendarmie-8390227-848: Requesting header
WARNING: Falling back on generic information extractor.
[generic] dans-le-secret-des-operations-commando-de-la-gendarmie-8390227-848: Downloading webpage
[generic] dans-le-secret-des-operations-commando-de-la-gendarmie-8390227-848: Extracting information
ERROR: Unsupported URL: http://videos.tmc.tv/90-enquetes/dans-le-secret-des-operations-commando-de-la-gendarmie-8390227-848.html
``
@spmjc
Copy link

@spmjc spmjc commented Mar 27, 2014

I am the "Julien" mentionned in the issue :)

A few more details:
TMC uses the same API as TF1 et NT1 and all the videos are hosted on wat.tv
The process is pretty much the same:
Get the watid and display/download the video.

Some of the videos are marked as "ShowOnWat:false"
Basically the main videos showing the full movie or episodes.

So the video can't be displayed on Wat.tv but works on the channel's website.
An example with TF1:
Liste of recent videos : http://api.tmc.tv/tmc-homepage-news/android-smartphone/
Each video has a watid.
If I try http://wat.tv/get/ipad/idwat.m3u8 or http://wat.tv/get/android5/idwat.mp4. It doesnt work.

You cant even find the wat.tv page if you use the Wat.tv API to get info on the video

My guess is we need a referrer somewhere in the API call. but cant find the call that need to be made..

@spmjc
Copy link

@spmjc spmjc commented Mar 27, 2014

Sorry, the link for TF1's recent videos is : http://api.tf1.fr/tf1-homepage-news/android-smartphone/

@remitamine remitamine closed this Dec 22, 2016
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
3 participants
You can’t perform that action at this time.