Diff
Differences From Artifact [cf6c41823e]:
- File contrib/delicast.py — part of check-in [6f314952b9] at 2015-05-02 20:03:36 on branch trunk — Add combined unhtml() utility function for raw page extractors. (user: mario, size: 3010) [annotate] [blame] [check-ins using]
To Artifact [2f25207529]:
- File contrib/delicast.py — part of check-in [cf6b582c7e] at 2015-05-03 14:07:39 on branch trunk — Remove print statement. (user: mario, size: 2989) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
58 59 60 61 62 63 64 |
ls = re.findall("""
"pStop\(\)" \s href="(.*?)">
.*?
pics/((?!play_triangle)\w+)
.*?
120%'>([^<>]+)</span>
""", tr, re.X|re.S)
| < | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
ls = re.findall("""
"pStop\(\)" \s href="(.*?)">
.*?
pics/((?!play_triangle)\w+)
.*?
120%'>([^<>]+)</span>
""", tr, re.X|re.S)
if len(ls):
homepage, country, title = ls[0]
r.append(dict(
homepage = homepage,
playing = country,
title = unhtml(title),
url = "urn:delicast",
|
| ︙ | ︙ |