Check-in [30cdbc9ba4]
Overview
| Comment: | Reciva: add search function |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
30cdbc9ba427bdd72e60e628b48653fd |
| User & Date: | mario on 2016-11-05 23:55:46 |
| Other Links: | manifest | tags |
Context
|
2016-11-06
| ||
| 01:56 | More specific command argument quoting for Windows. check-in: d253deb912 user: mario tags: trunk | |
|
2016-11-05
| ||
| 23:55 | Reciva: add search function check-in: 30cdbc9ba4 user: mario tags: trunk | |
|
2016-11-01
| ||
| 21:57 | Undo extra os.system("start \"%s\"") quotes for Windows. check-in: 2e49eacad9 user: mario tags: trunk | |
Changes
Modified contrib/reciva.py from [ac7d64a717] to [56fdd75c9a].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | # encoding: UTF-8 # api: streamtuner2 # title: Reciva # url: https://radios.reciva.com/stations/genre/34?&start=100&count=50 # description: Home internet radio app and diverse station database. |
| ︙ | |||
35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | - + |
# Reciva directory
class reciva (ChannelPlugin):
# module attributes
module = "reciva"
listformat = "pls"
|
| ︙ | |||
58 59 60 61 62 63 64 | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | - + + - + + + |
html = ahttp.get(self.base_url % (1, 1))
for c in re.findall('id="cg-(\d+)">([\w\d\s]+)</a></li>', html):
self.catmap[c[1].lower()] = c[0]
self.categories.append(c[1])
# fetchy fetch
|
| ︙ |