fix netzkino extractor for subcategory urls

This commit is contained in:
Markus B 2016-02-13 22:35:45 +01:00
parent fc2e70ee90
commit 946dd815db

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') category_id = mobj.group('category').split('-')[-1]
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