Skip to content

Commit

Permalink
Filmtar regex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goeroeg committed Oct 19, 2020
1 parent 843f6e7 commit a791fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.video.mediaklikk/mk.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# .*\"file\"\:\s\"(?P<streamurl>.*\.m3u8).*
programs_matcher = re.compile(".*mediaStore\\(.*(?P<data>\\[.*\\])\\s*\\)\\;.*", re.MULTILINE|re.DOTALL)
# .*mediaStore\(.*(?P<data>\[.*\])\s*\)\;.*
films_matcher = re.compile("(data-src\\=\\\"(?P<image>//mediaklikk.hu/[^\\\"]*)\\\"\\s*\\>(?:[\\s\\n\\r]*\\<[^\\>]*\\>)*\\<a[\\s\\n\\r]*href\\=\\\"(?P<data>//mediaklikk.hu/[^\\\"]*)\\\"\\s?\\>(?P<title>[^\\<]*)\\</a\\>)", re.MULTILINE|re.DOTALL)
films_matcher = re.compile("(data-src\\=\\\"(?P<image>//mediaklikk.hu/[^\\\"]*)\\\"[^\\>]*\\>(?:[\\s\\n\\r]*\\<[^\\>]*\\>)*\\<a[\\s\\n\\r]*href\\=\\\"(?P<data>//mediaklikk.hu/[^\\\"]*)\\\"\\s?\\>(?P<title>[^\\<]*)\\</a\\>)", re.MULTILINE|re.DOTALL)
# (data-src\=\"(?P<image>//mediaklikk.hu/[^\"]*)\"\s*\>(?:[\s\n\r]*\<[^\>]*\>)*\<a[\s\n\r]*href\=\"(?P<data>//mediaklikk.hu/[^\"]*)\"\s?\>(?P<title>[^\<]*)\</a\>)
film_token_matcher = re.compile("\\\"token\\\":\\\"(?P<data>[^\\\"]*)\\\"")
# \"token\":\"(?P<data>[^\"]*)\"
Expand Down

0 comments on commit a791fa5

Please sign in to comment.