{"action":"created","issue":{"url":"https://api.github.com/repos/spaam/svtplay-dl/issues/448","repository_url":"https://api.github.com/repos/spaam/svtplay-dl","labels_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/448/comments","events_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/448/events","html_url":"https://github.com/spaam/svtplay-dl/issues/448","id":176754007,"number":448,"title":"dashparse throws error on certain svtplay urls.","user":{"login":"jiggstrom","id":9380199,"avatar_url":"https://avatars.githubusercontent.com/u/9380199?v=3","gravatar_id":"","url":"https://api.github.com/users/jiggstrom","html_url":"https://github.com/jiggstrom","followers_url":"https://api.github.com/users/jiggstrom/followers","following_url":"https://api.github.com/users/jiggstrom/following{/other_user}","gists_url":"https://api.github.com/users/jiggstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/jiggstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiggstrom/subscriptions","organizations_url":"https://api.github.com/users/jiggstrom/orgs","repos_url":"https://api.github.com/users/jiggstrom/repos","events_url":"https://api.github.com/users/jiggstrom/events{/privacy}","received_events_url":"https://api.github.com/users/jiggstrom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-13T21:25:02Z","updated_at":"2016-09-13T21:48:50Z","closed_at":null,"body":"Hi,\r\nThis is the first time I tried to use svtplay-dl, and I ran into some kind of problem with parsing DASH info. Unfortunately I'm not too good at python and my understanding of media stream formats is even worse... But I managed to work around the problem by catching, and ignoring, the exception and removing dash from my list of stream-priorities...\r\n\r\nI'll try fixing it later, and if I manage I'll send you a PR.\r\n\r\n(The problem is the same on both windows and Ubuntu, .exe version, packed python and unpacked)\r\n\r\n\r\nVerbose output below:\r\n\r\n```\r\nsvtplay-dl  --stream-priority=hls,hds,http,rtmp --verbose http://www.svtplay.se/video/2579427/bla-ogon/bla-ogon-sasong-1-avsnitt-5\r\nDEBUG [1473800534.9716964] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://www.svtplay.se/video/2579427/bla-ogon/bla-ogon-sasong-1-avsnitt-5'\r\nDEBUG [1473800535.1630268] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://www.svt.se/videoplayer-api/video/1359596-005A'\r\nDEBUG [1473800535.3076448] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://svtplay18m-f.akamaihd.net/z/world/open/20160315/1359596-005A/PG-1359596-005A-OGONBLA-04_,988,240,348,456,636,1680,2796,.mp4.csmil/manifest.f4m'\r\nDEBUG [1473800535.517775] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://svtplay18i-f.akamaihd.net/i/world/open/20160315/1359596-005A/PG-1359596-005A-OGONBLA-04_,988,240,348,456,636,1680,2796,.mp4.csmil/master.m3u8?alt=http%3A%2F%2Fswitcher.cdn.svt.se%2F1359596-005A.m3u8'\r\nDEBUG [1473800535.6018896] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://switcher.cdn.svt.se/1359596-005A.m3u8'\r\nDEBUG [1473800535.8301945] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://ed0.cdn.svt.se/vod/_definst_/amlst:20160315/1359596-005A/PG-1359596-005A-OGONBLA-04/playlist.m3u8'\r\nDEBUG [1473800535.8788486] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://svtplay18g-f.akamaihd.net/d/world/open/delivery/20160315/1359596-005A/dash-ondemand/PG-1359596-005A-OGONBLA-04-becc0b97-1666-336d-f493-98e9abe9647e-ondemand.mpd?alt=http%3A%2F%2Fswitcher.cdn.svt.se%2F1359596-005A.mpd'\r\nDEBUG [1473800535.9687548] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://switcher.cdn.svt.se/1359596-005A.mpd'\r\nDEBUG [1473800536.2045715] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\utils\\__init__.py/request: HTTP getting 'http://ed3.cdn.svt.se/vod/_definst_/amlst:20160315/1359596-005A/PG-1359596-005A-OGONBLA-04/manifest.mpd'\r\nERROR [1473800536.2721221] site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\__init__.py/get_one_media: version: 1.4\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 7, in <module>\r\n  File \"site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\__init__.py\", line 444, in main\r\n  File \"site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\__init__.py\", line 178, in get_media\r\n  File \"site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\__init__.py\", line 225, in get_one_media\r\n  File \"site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\service\\svtplay.py\", line 119, in get\r\n  File \"site-packages\\svtplay_dl-1.4-py3.5.egg\\svtplay_dl\\fetcher\\dash.py\", line 33, in dashparse\r\nAttributeError: 'NoneType' object has no attribute 'text'\r\nsvtplay-dl returned -1\r\n```\r\nAnyway, since I managed to get by, your superb program made my day! Thanks!\r\nJens"},"comment":{"url":"https://api.github.com/repos/spaam/svtplay-dl/issues/comments/246836230","html_url":"https://github.com/spaam/svtplay-dl/issues/448#issuecomment-246836230","issue_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/448","id":246836230,"user":{"login":"spaam","id":202428,"avatar_url":"https://avatars.githubusercontent.com/u/202428?v=3","gravatar_id":"","url":"https://api.github.com/users/spaam","html_url":"https://github.com/spaam","followers_url":"https://api.github.com/users/spaam/followers","following_url":"https://api.github.com/users/spaam/following{/other_user}","gists_url":"https://api.github.com/users/spaam/gists{/gist_id}","starred_url":"https://api.github.com/users/spaam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaam/subscriptions","organizations_url":"https://api.github.com/users/spaam/orgs","repos_url":"https://api.github.com/users/spaam/repos","events_url":"https://api.github.com/users/spaam/events{/privacy}","received_events_url":"https://api.github.com/users/spaam/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T21:48:50Z","updated_at":"2016-09-13T21:48:50Z","body":"create a new one"}}
{"actor":{"display_login":"spaam"}}