Check-in [5cda19beb0]
Overview
Comment: | Apply unhtml() after resolve_urn() lookup. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5cda19beb029640ec129b477e85fdd8c |
User & Date: | mario on 2016-11-06 20:48:26 |
Other Links: | manifest | tags |
Context
2016-11-06
| ||
20:48 | Update HTML manual check-in: 09c09235d8 user: mario tags: trunk | |
20:48 | Apply unhtml() after resolve_urn() lookup. check-in: 5cda19beb0 user: mario tags: trunk | |
20:06 | Fix hidden `conf.cmd` lookup check-in: a2ef839027 user: mario tags: trunk | |
Changes
Modified contrib/delicast.py from [150e4b68e4] to [3740c184eb].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | # encoding: UTF-8 # api: streamtuner2 # title: Delicast # description: directory of streaming media # url: http://delicast.com/ |
︙ | |||
83 84 85 86 87 88 89 | 83 84 85 86 87 88 89 90 91 92 93 94 95 | + - + + + | # Update `url` on station data access (incurs a delay for playing or recording) def resolve_urn(self, row): if row.get("url").startswith("urn:delicast"): html = ahttp.get(row["homepage"]) ls = re.findall("^var url = \"(.+)\";", html, re.M) if ls: |