Index: channels/modarchive.py ================================================================== --- channels/modarchive.py +++ channels/modarchive.py @@ -1,11 +1,11 @@ # api: streamtuner2 # title: MODarchive # description: Collection of module / tracker audio files (MOD, S3M, XM, etc.) # type: channel -# version: 0.2 +# version: 0.3 # url: http://www.modarchive.org/ # priority: extra # config: - # category: collection # png: @@ -90,12 +90,12 @@ params = dict(query=self.catmap[cat], request="search", search_type="genre") html = ahttp.get(url, params) entries = [] rx_mod = re.compile(""" - href="(http://api\.modarchive\.org/downloads\.php[?]moduleid=(\d+)[#][^"]+)" - .*? /formats/(\w+)\.png" + href="(https?://api\.modarchive\.org/downloads\.php[?]moduleid=(\d+)[#][^"]+)" + .*? ="format-icon">(\w+)< .*? title="([^">]+)">([^<>]+) .*? >(?:Rated|Unrated)\s*(\d*) """, re.X|re.S) for uu in rx_mod.findall(html):