Check-in [36dcba6639]
Overview
Comment: | Removed stray `print` statement |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
36dcba6639cb693bef5d562f985a97cf |
User & Date: | mario on 2016-10-08 14:43:31 |
Other Links: | manifest | tags |
Context
2016-10-08
| ||
14:44 | Fixed status updates for scanning 1-9 pages (still using conf.max_streams), sum up favorites/downloads/likes for overview. check-in: 267a8d18f2 user: mario tags: trunk | |
14:43 | Removed stray `print` statement check-in: 36dcba6639 user: mario tags: trunk | |
14:42 | Fix statusbar #257: minor unicode fixes (wasn't showing up due to str/unicode in Py2, imported compat.unicode for Py3 now) check-in: 04daa96360 user: mario tags: trunk | |
Changes
Modified contrib/radionet.py from [9e4f869065] to [0e376ccfde].
︙ | ︙ | |||
77 78 79 80 81 82 83 | if html.find('"?p={}">'.format(p)) >= 0: html += ahttp.get(self.genre_url.format(cat) + "?p={}".format(p)) self.set_key(html) r = [] # split station blocks for row in re.split("""<div class="stationinfo""", html): | < | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | if html.find('"?p={}">'.format(p)) >= 0: html += ahttp.get(self.genre_url.format(cat) + "?p={}".format(p)) self.set_key(html) r = [] # split station blocks for row in re.split("""<div class="stationinfo""", html): # extract text fields d = re.findall(""" <a\s+href="(//([\w-]+)\.radio\.net/?)" .*? <img\s+src="([^<">]+)" .*? <strong[^>]*>(.*?)</strong> .*? <small[^>]*>\s*(.*?)\s*</small> .*? |
︙ | ︙ |