From: user Date: Thu, 15 Oct 2020 20:15:29 +0000 (+0200) Subject: Adding polish scraper for DVBC X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba94ccf283594e6195ab6c598a4bd972a3c2d4f6;p=thirdparty%2Ftvheadend.git Adding polish scraper for DVBC --- diff --git a/data/conf/epggrab/eit/scrape/pl b/data/conf/epggrab/eit/scrape/pl new file mode 100644 index 000000000..a4eb6d5f8 --- /dev/null +++ b/data/conf/epggrab/eit/scrape/pl @@ -0,0 +1,8 @@ +{ + "season_num": [ + "[^0-9]([0-9]{1,2}) +\\(odc\\. +[0-9]+\\)" + ], + "episode_num": [ + "\\(odc\\. +([0-9]+)\\)" + ] +} diff --git a/support/testdata/eitscrape/pl b/support/testdata/eitscrape/pl new file mode 100644 index 000000000..09d445bd6 --- /dev/null +++ b/support/testdata/eitscrape/pl @@ -0,0 +1,33 @@ +{ +"environ" : [ + { + "comment": "This section contains general information about this file to help people guess what regions it affects.", + "language": "pl", + "location": "pl", + "description": "POL DVB-C configuration for UPC network.", + "eitgrabber": ["eit"] + } +], + +"tests" : [ + { + "summary": "Lorem Ipsum." + }, + + { + "title": "Lorem Ipsum title. (odc. 123)", + "summary": "Lorem Ipsum summary. (odc. 123)", + "episode": "123" + }, + + { + "summary": "Lorem Ipsum. 4 (odc. 123)", + "season": "4", "episode": "123" + }, + + { + "summary": "Lorem Ipsum. 1234 (odc. 123)", + "episode": "123" + } +] +}