]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
extending the regexps for the italian EIT scraping
authorMario <4376789+mario-tux@users.noreply.github.com>
Thu, 7 Jul 2022 11:15:49 +0000 (13:15 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Fri, 8 Jul 2022 00:52:12 +0000 (02:52 +0200)
data/conf/epggrab/eit/scrape/it

index c9222cb517ba4fb9d200272f6c6b01c3cabdac78..d06b8b720dc2d6adb7e15eea4802945890f268f1 100644 (file)
@@ -1,17 +1,20 @@
 {
   "season_num": [
     "\\[?St\\.([0-9]+)\\]?",
-    "([0-9]+)'?a? Stagione +Ep[.] ?[0-9]+[a-z]?",
-    "([0-9]+)'?a? Stagione -? ?Puntata ?[0-9]+",
-    "([0-9]+)'?a? Stagione"
+    "([0-9]+)'?a? [Ss]tagione +[Ee][Pp][.] ?[0-9]+[a-z]?",
+    "([0-9]+)'?a? [Ss]tagione -? ?[Pp]untata ?[0-9]+",
+    "([0-9]+)'?a? [Ss]tagione",
+    "S[.]?([0-9]+) ?[Ee][Pp][.]? ?[0-9]+",
+    "[Ss]tagione ?([0-9]+)"
   ],
   "episode_num": [
     " ?[Ee][Pp]\\.? ?([0-9]+)",
-    "[0-9]+'?a? Stagione +Ep[.] ?([0-9]+)[a-z]?",
-    "[0-9]+'?a? Stagione -? ?Puntata ?([0-9]+)",
-    "^ *Ep[.] ?([0-9]+)[a-z]?",
-    "^ *Puntata ?([0-9]+)",
-    " Ep[.] ?([0-9]+) -"
+    "[0-9]+'?a? [Ss]tagione +[Ee][Pp][.] ?([0-9]+)[a-z]?",
+    "[0-9]+'?a? [Ss]tagione -? ?[Pp]untata ?([0-9]+)",
+    "^ *[Ee][Pp][.]? ?([0-9]+)[a-z]?",
+    "^ *[Pp]untata ?([0-9]+)",
+    " [Ee][Pp][.]? ?([0-9]+)",
+    "[Ee]pisodio ?([0-9]+)"
   ],
   "airdate": [
     "\\(([0-9][0-9][0-9][0-9])\\)"