{"action":"opened","issue":{"url":"https://api.github.com/repos/spaam/svtplay-dl/issues/278","labels_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/278/comments","events_url":"https://api.github.com/repos/spaam/svtplay-dl/issues/278/events","html_url":"https://github.com/spaam/svtplay-dl/issues/278","id":111477276,"number":278,"title":"can't download videos when using url from debuginformation","user":{"login":"Sopor-","id":5789283,"avatar_url":"https://avatars.githubusercontent.com/u/5789283?v=3","gravatar_id":"","url":"https://api.github.com/users/Sopor-","html_url":"https://github.com/Sopor-","followers_url":"https://api.github.com/users/Sopor-/followers","following_url":"https://api.github.com/users/Sopor-/following{/other_user}","gists_url":"https://api.github.com/users/Sopor-/gists{/gist_id}","starred_url":"https://api.github.com/users/Sopor-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sopor-/subscriptions","organizations_url":"https://api.github.com/users/Sopor-/orgs","repos_url":"https://api.github.com/users/Sopor-/repos","events_url":"https://api.github.com/users/Sopor-/events{/privacy}","received_events_url":"https://api.github.com/users/Sopor-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-14T19:45:50Z","updated_at":"2015-10-14T19:45:50Z","closed_at":null,"body":"In issue #201 you added support for downloading videos from the debuginformation you can get on every SVTPlay video. When i now try it i get this.\r\nThere should also be a fix for Windows?\r\n\r\n```\r\n$ svtplay-dl http://svtklipp2a-vh.akamaihd.net/z/fritt/open/20151012/K-20151012-152226-267/BARN-FREDAGSKVA-fb8491686f854dc4_,892,144,252,360,540,1584,2700,.mp4.csmil/manifest.f4m\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/svtplay-dl\", line 5, in <module>pkg_resources.run_script('svtplay-dl==0.20.2015.09.13', 'svtplay-dl')\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 528, in run_scriptself.require(requires)[0].run_script(script_name, ns)\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 1394, in run_scriptexecfile(script_filename, namespace, namespace)\r\n  File \"/usr/local/lib/python2.7/dist-packages/svtplay_dl-0.20.2015.09.13-py2.7.egg/EGG-INFO/scripts/svtplay-dl\", line 7, in <module> svtplay_dl.main()\r\n  File \"/usr/local/lib/python2.7/dist-packages/svtplay_dl-0.20.2015.09.13-py2.7.egg/svtplay_dl/__init__.py\", line 341, in mainget_media(url, options)\r\n  File \"/usr/local/lib/python2.7/dist-packages/svtplay_dl-0.20.2015.09.13-py2.7.egg/svtplay_dl/__init__.py\", line 140, in get_mediaurl, stream = generic.get(sites)\r\n  File \"/usr/local/lib/python2.7/dist-packages/svtplay_dl-0.20.2015.09.13-py2.7.egg/svtplay_dl/service/__init__.py\", line 150, in getreturn url, stream\r\nUnboundLocalError: local variable 'url' referenced before assignment\r\n\r\n```"}}