beenje / plugin.video.m6groupe

XBMC video addon for M6 and W9
GNU General Public License v2.0
2 stars 0 forks source link

M6 via iphone iterface #3

Open audetto opened 8 years ago

audetto commented 8 years ago

Hi,

I was able to download M6 videos till a few months ago using the iphone interface. But recently it stopped working (cannot tell when exactly).

I did write something here https://github.com/beenje/plugin.video.m6groupe/issues/2 a few years ago, but people were not interested.

My code is located here:

https://github.com/audetto/raireplay/blob/master/asi/M6.py

the link at line 22 seems to have changed

now something like that is used

ts = "https://lb.cdn.m6web.fr/s/cu/prime/{0}".format(link) (you can get this link if you sniff with a https proxy like mitmproxy)

this is all good, but the .m3u8 file allows to download something which seems encrypted now.

This is an example of the .m3u8 file

https://lb.cdn.m6web.fr/s/cu/prime/vod/protected/7/e/b/Enquete-exclusive_c11529756_Daesh-la-multinat/Enquete-exclusive_c11529756_Daesh-la-multinat_iphone.m3u8

Now, my initial attempt was done listening to the iOS app. I do not have an iPod any longer, so I listen to an Android app.

It is possible that the iOS app is different and does not have encryption. If anybody has the iOS app, I would like to log the traffic and see if it allows us to do something.

Interested?

audetto commented 8 years ago

If anyone can do some analysis,

the old address that used to be valid is the following:

https://lb.cdn.m6web.fr/s/su/m6replay_iphone/iphone/vod/protected/7/e/b/Enquete-exclusive_c11529756_Daesh-la-multinat/Enquete-exclusive_c11529756_Daesh-la-multinat_iphone.m3u8

now, it has not been removed, but it has become Forbidden. If I look at the response header I see:

< HTTP/1.1 302 Moved Temporarily < Server: nginx < Date: Sat, 28 Nov 2015 19:31:41 GMT < Content-Type: text/html < Transfer-Encoding: chunked < Connection: keep-alive < Location: https://e106.cdn.m6web.fr/m6replay_iphone/iphone/vod/protected/7/e/b/Enquete-exclusive_c11529756_Daesh-la-multinat/Enquete-exclusive_c11529756_Daesh-la-multinat_iphone.m3u8 < Access-Control-Allow-Origin: http://vuplay.drm.technology < Access-Control-Allow-Methods: < Access-Control-Allow-Headers: <

Then, when I try the next address I get 403 Forbidden. The key bit could be the line

< Access-Control-Allow-Origin: http://vuplay.drm.technology

It would be very interesting to see the https log of the iOS app, where I believe Flash is NOT allowed, as opposed to an Android. If only I could get back my old iPod Touch working with the M6 Web app!!!!