Check-in [c4d0f73dea]
Overview
Comment: | Embed base_url for extraction. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c4d0f73dea810b44b883ef45991dd7d7 |
User & Date: | mario on 2015-04-26 22:21:51 |
Other Links: | manifest | tags |
Context
2015-04-26
| ||
22:22 | Disable "Format" column again. check-in: 781f57ecdc user: mario tags: trunk | |
22:21 | Embed base_url for extraction. check-in: c4d0f73dea user: mario tags: trunk | |
22:21 | Missing Exception capture for error log. check-in: f69b9ce181 user: mario tags: trunk | |
Changes
Modified channels/punkcast.py from [53641222c8] to [2ac5815def].
︙ | ︙ | |||
52 53 54 55 56 57 58 | <a\shref="(http://punkcast.com/(\d+)/index.html)"> .*? ALT="([^<">]+)" """, re.S|re.X) entries = [] #-- all from frontpage | | | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | <a\shref="(http://punkcast.com/(\d+)/index.html)"> .*? ALT="([^<">]+)" """, re.S|re.X) entries = [] #-- all from frontpage html = http.get("http://www.punkcast.com/") for uu in rx_link.findall(html): (homepage, id, title) = uu entries.append({ "genre": "%s" % id, "title": title, "playing": "PUNKCAST #%s" % id, "format": "audio/mpeg", |
︙ | ︙ |