Check-in [5844bca11c]
Overview
| Comment: | Fixed category assembly (last entries for Urban were missing) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
5844bca11c436325519f9837a1d7f83c |
| User & Date: | mario on 2016-11-20 16:04:59 |
| Other Links: | manifest | tags |
Context
|
2016-11-20
| ||
| 16:05 | new plugin: liveradio.ie check-in: 979614a6d9 user: mario tags: trunk | |
| 16:04 | Fixed category assembly (last entries for Urban were missing) check-in: 5844bca11c user: mario tags: trunk | |
| 16:04 | Fixed a few mallard section errors, added reddit details and liveradio.io to contrib list. check-in: 8d589c0127 user: mario tags: trunk | |
Changes
Modified channels/modarchive.py from [b1542202e8] to [2703341090].
| ︙ | ︙ | |||
66 67 68 69 70 71 72 |
#-- archived shows
sub = []
self.categories = []
for uu in rx_current.findall(html):
(main, id, subname) = uu
if main:
| < | > | | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
#-- archived shows
sub = []
self.categories = []
for uu in rx_current.findall(html):
(main, id, subname) = uu
if main:
self.categories.append(main)
self.catmap[main] = 0
sub = []
self.categories.append(sub)
else:
sub.append(subname)
self.catmap[subname] = id
# .categories and .catmap are saved by reload_categories()
pass
|
| ︙ | ︙ |