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="(.+?)"[^>]*> .*?
|