Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update script.xbmc.subtitles/resources/lib/services/Ondertitel/service.py #134

Merged
merged 1 commit into from

2 participants

@tweemeterjop

fixed subtitle_pattern regex after site redesign

@amet amet merged commit cf47497 into amet:eden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 30, 2012
  1. @tweemeterjop

    Update script.xbmc.subtitles/resources/lib/services/Ondertitel/servic…

    tweemeterjop authored
    …e.py
    
    fixed subtitle_pattern regex after site redesign
This page is out of date. Refresh to see the latest.
View
4 script.xbmc.subtitles/resources/lib/services/Ondertitel/service.py
@@ -18,8 +18,8 @@
<a href="/ondertitels/info/(500)-Days-of-Summer/44032.html" title="ondertitel (500) Days of Summer" style="color: #000;">(500) Days of Summer</a></strong> <img src="/images/nederlandse_vlag.jpg" height="11" width="18"></div> <div style="float:left;"><a href="http://www.imdb.com/title/tt1022603/" target="_blank"><img src="/images/imdb_logo.gif" border="0"></a> </div><br clear="both"></div>
<div style="width: 490px; overflow:hidden; overflow:hidden"><font style="font-size: 11px; color: #444445;"><i>500.Days.of.Summer.2009.720p.BluRay.DTS.x264-WiKi</i></font><br></div>
"""
-subtitle_pattern = "<a href=\"(/ondertitels/info/[^/\n\r\t]+/\d+?\.html)\" title=\"[^/\n\r\t]+\" style=\"color: #000;\">[^\n\r\t]*?[\n\r\t]+\
-<div style=\"width: 490px; overflow:hidden; overflow:hidden\"><font style=\"font-size: 11px; color: #444445;\"><i>([^\n\r\t<]+?)</i></font><br></div>"
+subtitle_pattern = "<a href=\"(/ondertitels/info/[^/\n\r\t]+/\d+.html)\" style=\"[^\n\r\t]+\">[^\n\r\t]*?[\n\r\t]+\
+<div style=\"width: 480px; overflow:hidden; overflow:hidden; height: 15px; overflow:hidden\"><font style=\"font-size: 11px; color: #444445;\"><i>([^\n\t\r]+)</i></font></div>"
# group(1) = link, group(2) = filename
Something went wrong with that request. Please try again.