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(self.homepage)
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",
|
|
|
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",
|