Diff
Differences From Artifact [ef6ef15c63]:
- File channels/surfmusik.py — part of check-in [09dec64f41] at 2016-12-16 16:26:55 on branch trunk — Reverted all `module = __name__` assignments, because that was carrying the module over, not the base classname. Added #extraction-method: meta information to channel plugins. (user: mario, size: 7102) [annotate] [blame] [check-ins using]
To Artifact [088560b929]:
- File channels/surfmusik.py — part of check-in [0c7040e314] at 2016-12-18 14:04:19 on branch trunk — Add more .progress() indication (user: mario, size: 7128) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# genre
elif cat in self.categories[self.categories.index("Genres") + 1]:
path = path_genre
# country
else:
path = path_country
if path is not None:
ucat = cat.replace(" ", "+").lower()
html = ahttp.get(base_url + path + ucat + ".html")
html = re.sub("&#x?\d+;", "", html)
rx_radio = re.compile(r"""
<td\s+class="home1"><a[^>]*\s+href="(.+?)"[^>]*> .*?
| > | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# genre
elif cat in self.categories[self.categories.index("Genres") + 1]:
path = path_genre
# country
else:
path = path_country
self.status(-1.0)
if path is not None:
ucat = cat.replace(" ", "+").lower()
html = ahttp.get(base_url + path + ucat + ".html")
html = re.sub("&#x?\d+;", "", html)
rx_radio = re.compile(r"""
<td\s+class="home1"><a[^>]*\s+href="(.+?)"[^>]*> .*?
|
| ︙ | ︙ |