View Single Post
  #1  
Old 01-14-2016, 10:23 AM
mickrose mickrose is offline
Junior Member
 
Join Date: Jan 2016
Location: geneva
Posts: 5
mickrose is on a distinguished road
Lightbulb

avoiding F4M Akamai DRM by pretending to be iPhone -> M3U8


hello,

I can successfully get an MP4 using youtube-dl on Windows7 from SWISS TV page:
http://www.rts.ch/play/tv/einstein/v...-40?id=6855800

(m3u8 manifest is used)
valid cmd= C:\Users\xxxxxx\AppData\Local\Programs\Python\Pyth on35-32>youtube-dl "http://
www.rts.ch/play/tv/einstein/video/emission-40?id=6855800"

another content has stronger protection DRM and I cannot download:

http://www.rts.ch/play/tv/histoire-v...-13?id=7401279

I get:
[RTS] 7401279: Downloading JSON metadata
[RTS] 7401279: Downloading JSON metadata
[RTS] 7401279: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[RTS] 7401279: Downloading hds token
[RTS] 7401279: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 403: Forbidden
[...]
-------------------------------------------
On my iPhone, I see with developer tools (connect iphone to Mac with USB cable...) that a master.m3u8 is used to play the stream in Safari.

How can I pretend to be an iOS device from Windows (iPad mode) ? the user agent value seems to be overruled for some reason if I use a Firefox addon or HDS Link detector + youtube-dl.

thanks
Reply With Quote