Patches item #1091345, was opened at 2004-12-26 14:06
Message generated for change (Comment added) made by dischi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446897&aid=1091345&group_id=46652
Category: Freevo
Group: current
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Are Pedersen (arepe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for imdb lookup plugin
Initial Comment:
The imdb search has changed it's results to now
displaying the year outside the a-tag. This patch fixes
the search regex on line 172 in the
/freevo/util/fxdimdb.py file.
*****patch start****
regexp_imdb_list_entry = re.compile(r'''
<A[ ]HREF="/(?:Title\?|title/tt) # match
both old and new style
(?P<id> \d+)/[^"]*"> #
imdb id
(?P<title> .*?)</A>\s* #
imdb movie title
\(
(?P<year> \d{4}.*?) # year
and possibly /I, /II etc.
\)
''', re.VERBOSE | re.IGNORECASE)
*****patch end****
The change is to move the a-tag up to the \s*, and add
the [^"]* to the imdb id.
----------------------------------------------------------------------
>Comment By: Dirk Meyer (dischi)
Date: 2005-01-09 10:33
Message:
Logged In: YES
user_id=33647
fixed in cvs
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446897&aid=1091345&group_id=46652
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel