84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# https://www.radionomy.com/de/style/GENRE
html = ahttp.get(req, ajax=1, referer=1)
# https://www.radionomy.com/de/OnAir/Update
self.onair_update(req)
# collect additional pages
for i in range(0, int(conf.radionomy_pages) - 1):
add = ahttp.get(req, { "scrollOffset": i }, post=1, ajax=1, referer=1)
if add.find("browseRadio") < 0:
break
html += add
self.onair_update(req)
# extractzz
|
>
|
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
# https://www.radionomy.com/de/style/GENRE
html = ahttp.get(req, ajax=1, referer=1)
# https://www.radionomy.com/de/OnAir/Update
self.onair_update(req)
# collect additional pages
for i in range(0, int(conf.radionomy_pages) - 1):
self.progress(conf.radionomy_pages)
add = ahttp.get(req, { "scrollOffset": i }, post=1, ajax=1, referer=1)
if add.find("browseRadio") < 0:
break
html += add
self.onair_update(req)
# extractzz
|