Check-in [ea2010c673]
Overview
| Comment: | Fix HTML assembling (<body>.+?</body> cleanup for PyQuery to see all entries). |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ea2010c6738d9ab08a7c52288bcc8e3f |
| User & Date: | mario on 2016-10-08 04:07:59 |
| Other Links: | manifest | tags |
Context
|
2016-10-08
| ||
| 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 | |
| 04:07 | Fix HTML assembling (<body>.+?</body> cleanup for PyQuery to see all entries). check-in: ea2010c673 user: mario tags: trunk | |
| 03:32 | New channel housemixes.com added. check-in: fa19c2995e user: mario tags: trunk | |
Changes
Modified contrib/housemixes.py from [f5965e2332] to [5c3049421c].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | # api: streamtuner2 # title: house-mixes.com # description: UK DJs house/techno mixes # type: channel # category: archive |
| ︙ | |||
79 80 81 82 83 84 85 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | - + |
return
# collect
html = ahttp.get(self.base_url + self.catmap[cat])
for i in range(2, int(conf.max_streams)/50): #conf.housemixes_pages):
if html.find("latest/" + str(i)):
html = html + ahttp.get(self.base_url + self.catmap[cat] + "/latest/%s" % i)
|
| ︙ |