Permalink
Browse files

Fix regular expression for entries

  • Loading branch information...
1 parent 5960310 commit 2b64fde64a9a4f4b046c640d68ada3dbbad12ad7 @niclashoyer niclashoyer committed Jul 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 addon.py
View
@@ -31,7 +31,7 @@
blogsregexp = re.compile('Startseite Videoblog(.*)subressort', re.MULTILINE|re.DOTALL)
blogurlregexp = re.compile('a href="(\/videoblog\/[^"]+)"')
blogtitleregexp = re.compile('">([^<]+)<\/a><\/li>')
-entriesregexp = re.compile('<h4[^>]*><a[^>]+href="\/([^"]*)"[^>]*>([^<]+)<\/a>')
+entriesregexp = re.compile('<a.*href="(\/videoblog\/[^"]+)">.*<h4 class="headline">([^<]*)<\/h4>', re.MULTILINE|re.DOTALL)
teaserregexp = re.compile('img[^>]+src="(\/multimedia\/bilder\/[^"]+teaser+[^"]+)')
def removeNonAscii(s):

0 comments on commit 2b64fde

Please sign in to comment.