Diff
Differences From Artifact [20409037a1]:
- File channels/internet_radio.py — part of check-in [232bbb301a] at 2015-04-03 17:31:35 on branch trunk — All channel icons are now embedded into plugin meta data. (user: mario, size: 6633) [annotate] [blame] [check-ins using]
To Artifact [617008d44a]:
- File channels/internet_radio.py — part of check-in [3d794f312d] at 2015-04-04 01:46:13 on branch trunk — Removed duplicate category entries for internet_radio plugin. (user: mario, size: 6644) [annotate] [blame] [check-ins using]
︙ | |||
55 56 57 58 59 60 61 | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | - + | def update_categories(self): html = http.get(self.homepage) rx = re.compile("""="/stations/[-+&.\w\s%]+/">([^<]+)<""") cats = rx.findall(html) cats = list(set(cats)) cats = [s.capitalize() for s in cats] |
︙ |