Index: contrib/radionet.py ================================================================== --- contrib/radionet.py +++ contrib/radionet.py @@ -1,11 +1,11 @@ # encoding: UTF-8 # api: streamtuner2 # title: radio.net # description: Europe's biggest radio platform # url: http://radio.net/ -# version: 0.5 +# version: 0.6 # type: channel # category: radio # png: # iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAt0lEQVR42mNgYGD4r+Ar/F/BDwkD+SBxojBMs1mLPBArgGlFqEEENYMNQNLsukIDYkirAvGu # ABsA1OC6XOP/5f8nwIaYAg0k2gBFsAsgTgcZkvnfDugFEeK9AFKsCPMG0CU6eZJgQ4R1eP8H7LLEivWyFJANQcQCLPBAmkGG4MJohmA6C6QA5gI5OxEUDNII @@ -77,17 +77,35 @@ for p in range(2, 4): if html.find('"?p={}">'.format(p)) >= 0: html += ahttp.get(self.genre_url.format(cat) + "?p={}".format(p)) self.set_key(html) r = [] - + """ +
Fresh pop music, R'n'B, the newest chart hits and the Top 40 can all be found on this Internet radio station, ANTENNE BAYERN.
+
+ + + ANTENNE FRANKFURT 95.1 + + + antenne frankfurt 95.1 + + + Frankfurt am Main, Germany / Charts, News, Pop, Top 40, News, Weather + + + + + + + """ # split station blocks - for row in re.split("""
]+)" .*? ]*>(.*?) .*? ]*>\s*(.*?)\s* .*? """, row, re.X|re.S)