**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing MDB data from TvGuide websites * @MinSWversion : V1.1.1/56.25 * - (postprocess V2.0) * @Site: thetvdb.com * @Revision 2 - [19/06/2016] Jan van Straaten * - improved mdb_show_id * @Revision 1 - [22/05/2016] Jan van Straaten * - support for match on episode-num or sub-title, use of new scopes * - added mdbiniype * @Revision 0 - [02/12/2015] Jan van Straaten * - creation * @Remarks: - series database , primarysearch with bing * @header_end **------------------------------------------------------------------------------------------------ * * site {url=thetvdb.com|mdbinitype=serie|cultureinfo=en-US|charset=utf-8|matchfactor=70|searchsite=bing} site {episodesystem=onscreen} * primary search: url_primarysearch {url(urlencode=1,2)|https://www.bing.com/search?q=|thetvdb+|'title'} url_primarysearch.headers {customheader=Accept-Encoding=gzip,deflate} *http://www.bing.com/search?q=thetvdb+Malcolm+in+the+Middle scope.range {(primarysearch)|end} * * element) * and a match of the subtitle in one of the elements * scope.range {(match)|end} mdb_episodetitlelist.scrub {regex()|p1||<\w{4,5} class="text-muted episode-label">[^<]*<\/\w{4,5}>\s*\s*([^<]*?)\s*<\/a>||} mdb_temp_8.scrub {regex()|p1||<\w{4,5} class="text-muted episode-label">([^<]*)<\/\w{4,5}>||} mdb_episodenumlist.modify {set(pattern="S'S1'E'E1'")|'mdb_temp_8'} mdb_title.scrub {regex()|p2||

\s*([^<]*?)\s*<\/h1>||} mdb_productiondate.scrub {regex()|p1||