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

Unable to fetch hotel-halcyon/S01E02 #130

Open
jimdmb opened this issue Jan 20, 2019 · 2 comments
Open

Unable to fetch hotel-halcyon/S01E02 #130

jimdmb opened this issue Jan 20, 2019 · 2 comments

Comments

@jimdmb
Copy link

jimdmb commented Jan 20, 2019

@simark
Copy link
Collaborator

simark commented Jan 20, 2019

Confirmed:

$ toutv -v fetch -q MAX https://ici.tou.tv/hotel-halcyon/S01E02
DEBUG:ShelveCache:Trying to open shelve at /home/simark/.cache/toutv/.toutv_cache
_parse_show_episode_from_args returns: emission hotel-halcyon and episode S01E02
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): ici.tou.tv:443
DEBUG:urllib3.connectionpool:https://ici.tou.tv:443 "GET /presentation//hotel-halcyon?v=2&excludeLineups=False&d=android HTTP/1.1" 200 6467
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): services.radio-canada.ca:443
DEBUG:urllib3.connectionpool:https://services.radio-canada.ca:443 "GET /media/validation/v2/GetClaims?token=11145282-1301-4731-b82a-668a4149fed1 HTTP/1.1" 200 426
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): services.radio-canada.ca:443
DEBUG:urllib3.connectionpool:https://services.radio-canada.ca:443 "GET /media/validation/v2/?appCode=toutv&deviceType=iphone4&connectionType=wifi&output=json&idMedia=132147&claims=FF991AC02DA2277DD55C46CECC7BD2D8A51A9B3845611C3F229F6C5D4AF2B755A7C245A4EB9AD090F56CB9A765EAD68AAC638751CE90500AC51F09445E9002995838DA12997B437E1B409131BF41327C5D21B916C6F21F4219E4E13A861A50BC78F9FE981DE5317D0775ABC7B6C40F73A2BD91249B1DA46F2CA2E00D416929C04974D15E1575D3816E3BBA0606ECDA8644DF1969449B4EAC08E4F623817B5569B40B7EACE329CA348F886E842B8DBF69 HTTP/1.1" 200 497
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): toutvuniver-vh.akamaihd.net:443
DEBUG:urllib3.connectionpool:https://toutvuniver-vh.akamaihd.net:443 "GET /i/013/mp4/h/2017-08-24_07_00_00_hotelhalcyon_0002_,256,400,500,800,1200,2000,3000,.mp4.csmil/master.m3u8?hdnea=st=1548023868~exp=1548023988~acl=/i/013/mp4/h/2017-08-24_07_00_00_hotelhalcyon_0002_*~hmac=04b59d62159c535fafa59b3b81adeb9167d226c8de0b5b49d9b017c9731d1b96 HTTP/1.1" 404 175
Bad HTTP status code (404) for "https://toutvuniver-vh.akamaihd.net/i/013/mp4/h/2017-08-24_07_00_00_hotelhalcyon_0002_,256,400,500,800,1200,2000,3000,.mp4.csmil/master.m3u8?hdnea=st=1548023868~exp=1548023988~acl=/i/013/mp4/h/2017-08-24_07_00_00_hotelhalcyon_0002_*~hmac=04b59d62159c535fafa59b3b81adeb9167d226c8de0b5b49d9b017c9731d1b96"

I don't have time to investigate right now though.

@gboudreau
Copy link
Contributor

Pretty sure this is a server issue, not a pytoutv issue. Comparing the requests sent for S01E01 (which works) and S01E02 (which doesn't), the same requests are sent.
If it works in the mobile app, it's probably because the server issue doesn't affect the latest API, which pytoutv doesn't use. My guess is that if we were to test with an old enough mobile app version which use the old API, it wouldn't work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants