[netzkino] well fixed it again :D last fix only worked partially

This commit is contained in:
Markus B 2016-02-16 18:09:55 +01:00
parent 946dd815db
commit 7c36433966

View File

@ -36,7 +36,7 @@ class NetzkinoIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url) mobj = re.match(self._VALID_URL, url)
category_id = mobj.group('category').split('-')[-1] category_id = mobj.group('category').split('-')[0]
video_id = mobj.group('id') video_id = mobj.group('id')
api_url = 'http://api.netzkino.de.simplecache.net/capi-2.0a/categories/%s.json?d=www' % category_id api_url = 'http://api.netzkino.de.simplecache.net/capi-2.0a/categories/%s.json?d=www' % category_id