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

[tou.tv] can't dl test url #2082

Closed
canamcy opened this issue Jan 3, 2014 · 7 comments
Closed

[tou.tv] can't dl test url #2082

canamcy opened this issue Jan 3, 2014 · 7 comments

Comments

@canamcy
Copy link

@canamcy canamcy commented Jan 3, 2014

my py version is actually 3.2.2

youtube-dl -i http://www.tou.tv/30-vies/S04E41 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', 'http://www.tou.tv/30-vies/S04E41', '--verbose
']
[debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp850', pref: 'cp1252'
[debug] youtube-dl version 2013.12.26
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[tou.tv] 30-vies/S04E41: Downloading webpage
[tou.tv] 30-vies/S04E41: Downloading stream list
ERROR: Unable to download XML: HTTP Error 404: Not Found; please report this iss
ue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag
and include its complete output. Make sure you are using the latest version; ty
pe youtube-dl -U to update.
File "youtube_dl\extractor\common.pyo", line 182, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1070, in urlopen
File "urllib2.pyo", line 410, in open
File "urllib2.pyo", line 523, in http_response
File "urllib2.pyo", line 448, in error
File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 531, in http_error_default

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 3, 2014

I get the same error, but I can't see the video on the browser, it's blocked from my location. Can you see the video?
By the way: we don't support python 3.2, only 3.3 or higher.

@ghost
Copy link

@ghost ghost commented Jan 4, 2014

I tried it with some france proxy and still don't work. I think they changed ...

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 4, 2014

Is that video supposed to available in France?, maybe in can only be viewed from Canada.

@ghost
Copy link

@ghost ghost commented Jan 4, 2014

@jaimeMF tried canada proxy now and error is the same

EDIT:
They are now using AkamaiHD :(
neco

@canamcy
Copy link
Author

@canamcy canamcy commented Jan 4, 2014

I'm in Canada and can watch in browser.
I know about supported py versions (windows reporting).

GET http://cp143903-f.akamaihd.net/z/006/mp4/autres/2013-11-18_19_00_00_30vies_0341_,500,800,1200,.mp4.csmil/2_68187be5de88e2fd_Seg1-Frag19_AQBDRMbqFyG7TVo2yFI0Gm6ACzgypDxM38E0scIajfkotpYxMhExlfRiLTQHM33DIeEH2H4e?hdntl=exp=1388939225~acl=%2fz%2f006%2fmp4%2fautres%2f2013-11-18_19_00_00_30vies_0341_*~data=hdntl~hmac=1850f2529fb0a29737a65a805764866e495fe09822042b1741989ebd51d6213a&als=0.03,30,0.3,2,1204,703,3.25,2731,7,109,t,108.05,1296.14,f,s,GWGEEANWEDMU,2.11.3,109&hdcore=2.11.3

200 OK
Requête
GET /z/006/mp4/autres/2013-11-18_19_00_00_30vies_0341_,500,800,1200,.mp4.csmil/2_68187be5de88e2fd_Seg1-Frag19_AQBDRMbqFyG7TVo2yFI0Gm6ACzgypDxM38E0scIajfkotpYxMhExlfRiLTQHM33DIeEH2H4e?hdntl=exp=1388939225acl=%2fz%2f006%2fmp4%2fautres%2f2013-11-18_19_00_00_30vies_0341__data=hdntlhmac=1850f2529fb0a29737a65a805764866e495fe09822042b1741989ebd51d6213a&als=0.03,30,0.3,2,1204,703,3.25,2731,7,109,t,108.05,1296.14,f,s,GWGEEANWEDMU,2.11.3,109&hdcore=2.11.3 HTTP/1.1
User-Agent: Opera/9.80 (Windows NT 6.1) Presto/2.12.388 Version/12.16
Host: cp143903-f.akamaihd.net
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */_;q=0.1
Accept-Language: fr-CA,fr;q=0.9,en;q=0.8
Accept-Encoding: gzip, deflate
Referer: http://static.tou.tv/console/radiocanada/v2/ConsoleProd.swf?consoleVersion=v.2.1.0.87
Cookie: hdntl=exp=1388939225
acl=%2fz%2f006%2fmp4%2fautres%2f2013-11-18_19_00_00_30vies_0341_*data=hdntlhmac=1850f2529fb0a29737a65a805764866e495fe09822042b1741989ebd51d6213a
Connection: Keep-Alive

HTTP/1.0 200 OK
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: video/f4f
Content-Length: 1058437
Pragma: no-cache
Cache-Control: no-store
Expires: Sat, 04 Jan 2014 16:31:04 GMT
Date: Sat, 04 Jan 2014 16:31:04 GMT
Set-Cookie: alid=xYLHXIPZpSIw8TdZKxSs5A==; path=/z//006/mp4/autres/2013-11-18_19_00_00_30vies_0341_,500,800,1200,.mp4.csmil/; domain=cp143903-f.akamaihd.net

Impossible d'afficher les données de type video/f4f

@ghost
Copy link

@ghost ghost commented Jan 4, 2014

Before i was too trying download some akamai videos through php script, it's not possible, because of DRM.

Hope someone will crack it soon :)

@jacksilver045
Copy link

@jacksilver045 jacksilver045 commented Mar 17, 2014

This tool is able to download videos from toutv/akamain :

https://github.com/bvanheu/Tou.tv-console-application

Hope that will help :)

@remitamine remitamine closed this in 882af14 Jul 7, 2016
remitamine added a commit that referenced this issue Jul 7, 2016
[toutv] fix info extraction(closes #1792)(closes #2082)
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.