The epg parsers can be found in /usr/share/tvheadend/data/conf/epggrab/eit/scrape/
I added a file nl into this directory and if you don't mistake the syntax of the file, a new parser type nl shows up in the
scraper configuration to use list.
To match text like s 3, afl 15, I had to enter:
{
"season_num": [
"\\(s ?([0-9]+),? afl ?[0-9]+\\)",
"\\(s ?([0-9]+),? afl ?[0-9]+/[0-9]+\\)",
"\\(s ?([0-9]+)\\)",
" S([0-9][0-9]+)[ \\.]",
" S([0-9][0-9]+)$",
"^S([0-9][0-9]+)\\ "
],
"episode_num": [
"\\(s ?[0-9]+,? afl ?([0-9]+)\\)",
"\\(s ?[0-9]+,? afl ?([0-9]+)/[0-9]+\\)",
"\\(afl ?([0-9]+)\\)",
"\\(([0-9][0-9]?[0-9]?)\\)",
"\\(([0-9]+)/[0-9]+\\)",
"[Ee]pisode ?([0-9]+)",
"[Ee]pisode ?([0-9]+)/[0-9]+",
" E([0-9][0-9]+)[ \\.]",
" E([0-9][0-9]+)$"
],
"airdate": [
"\\(([0-9][0-9][0-9][0-9])\\)",
"\\([a-zA-Z]* ?- ?([0-9][0-9][0-9][0-9])\\)"
],
"pcre": {
"scrape_title": [
"^(.*?)(?:\\s*\\(.+\\))+"
]
}
}