Check-in [d2925011aa]
Overview
Comment: | Fix misnamed row{} reference. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d2925011aaf5a80b479bb21d989a21c4 |
User & Date: | mario on 2016-11-06 18:51:50 |
Other Links: | manifest | tags |
Context
2016-11-06
| ||
18:52 | Alternate "rt" and "r" gzopen file flag (the "t" is an addition of Python3 gzip, and failed with Python2 on Windows) check-in: ee1b2744a1 user: mario tags: trunk | |
18:51 | Fix misnamed row{} reference. check-in: d2925011aa user: mario tags: trunk | |
18:51 | Add unichr() function alias for Python3. check-in: 049c5a6edd user: mario tags: trunk | |
Changes
Modified contrib/delicast.py from [ecaaf5255a] to [150e4b68e4].
︙ | ︙ | |||
81 82 83 84 85 86 87 | )) return r # 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"): | | | 81 82 83 84 85 86 87 88 89 90 91 92 | )) return r # 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) row["url"] = ls[0] return row |