**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: SportsMax * @MinSWversion: * @Revision 0 - [03/08/2020] Francis De Paemeleere * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=sportsmax.tv|timezone=Atlantic/Canary|maxdays=6|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|nopageoverlaps} *site {ratingsem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000} urldate.format {datestring|yyyy-MM-dd} url_index{url(debug)https://scheduler2.sportsmax.tv/api/v1/channels/|channel|/scheduled_programs/|urldate|} url_index.headers {customheader=Authorization=Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI0OTQxOGE5ZjNlNDljMDg3MjZjZTNlYjJlMmJjN2NmY2MyYzFiMjk2Mjk3OWUwZWNkMmQ0YzBkMTdiNjJkMmEwYWY1YzJiMzBkNTZhZDRmIn0.eyJhdWQiOiIxIiwianRpIjoiYjQ5NDE4YTlmM2U0OWMwODcyNmNlM2ViMmUyYmM3Y2ZjYzJjMWIyOTYyOTc5ZTBlY2QyZDRjMGQxN2I2MmQyYTBhZjVjMmIzMGQ1NmFkNGYiLCJpYXQiOjE1NDg3NzY3OTAsIm5iZiI6MTU0ODc3Njc5MCwiZXhwIjoxNTgwMzEyNzkwLCJzdWIiOiI0Iiwic2NvcGVzIjpbXX0.ZUMtGIrpRO6FaohSOJ7h3Gky_rmkpmbMQDwQC1M7UgFgAIZkQO1otMhRSfpvV0jrgm2o43Hm4ICbQUEw9cJCS30_UVPbIL6iZCkyHrPD70J5WR_7Q4OH9G1mfo8h4FbZsHQ171jj1wHPVmNYRh24Xd4JMRyz8QL1ZZBKJi0jfsEalHE-R_6R5f0SKCqD6at9dh0oBCu_nDbQDQLleryDNj3lII9RnM4bulVyQrPtHT1Q3dkp4_Y-sdWS2woh8wlkGeMWXRvYaRdb6MIWeMu97PK0vHYVVzTw37i_Jkn6bmrcgMYyrY7o6KYx1n0vdIJepkk8YgTXoFi43_kFqBFSj1Q_-9Pp_8PGpOOgdAsH9cfQodoaYqud0wDoVQfrpUs2RdAZvW4a5Dfwo9cCf7iOg75D_6WNxKikF0B0Lc1tpmSSq-F5-huPTcTPTNPHMLwrCSAlfttxodbC5jRvKmpIzzGfKcKHUuiPaprzcIZyiFhucOjaG9mPKJHbPVYU9Aq1eAFrF7_FX-Tzljpspu9uNZvRZ7oJG2mzQutlGUClzCn69A097sQJtLG508BDslUNdMlHrErqI1mSDxLRF9bMrgO07bJC0nrsgUJuvx14EHVpb2AOY4q41cuCLfaGyFn_hRKcKyZP9A_E71W2fn8YOWl6y6h4P0c5zmJp4gsH_Bw} * to speedup the downloading of the index pages index_showsplit.scrub {multi(debug)||||} *index_date.scrub {single|} *index_start.scrub {single|} *index_stop.scrub {single|} *index_title.scrub {single|} *index_urlchannellogo {url| } *index_urlshow {url|} *index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages *title.scrub {single|} *titleoriginal.scrub {single|} *subtitle.scrub {single|} *description.scrub {multi|} *director.scrub {single|} *actor.scrub {single(separator=", ")|} *presenter.scrub {single|} *producer.scrub {single|} *writer.scrub {single|} *composer.scrub {single|} *rating.scrub {multi|} *ratingicon.scrub {multi|} *category.scrub {single|} *productiondate.scrub {single|} *starrating.scrub {single|} *episode.scrub {single|} *subtitles.scrub {single|} *premiere.scrub {single|} *previousshown.scrub {single|} * * operations: ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_channel.scrub {multi|} *index_site_id.scrub {multi|} *scope.range {(channellist)|end} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} *end_scope ** @auto_xml_channel_end