**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: csfd.cz * @MinSWversion: V2.0.1.1 * @Revision 1 - [02/03/2017] Jan van Straaten * no need for PHP anymore, uses preload in method POST * @Revision 0 - [06/02/2017] Blackbear199 * - creation, php solution * @header_end **------------------------------------------------------------------------------------------------ site {url=csfd.cz|timezone=Europe/Prague|maxdays=18|cultureinfo=cs-CZ|charset=UTF-8|titlematchfactor=90} site {ratingsystem=CZ|episodesystem=onscreen|nopageoverlaps} * *url_index{url(debug preload="http://www.csfd.cz/televize/?day=|urldate|&do=stationSelectForm-submit")|http://www.csfd.cz/televize/?day=|urldate|#move-to-station-0} url_index{url()|http://www.csfd.cz/televize/?day=|urldate|#move-to-station-0} url_preload {url()|http://www.csfd.cz/televize/?day=|urldate|&do=stationSelectForm-submit} url_preload.headers {method=POST|allowautoredirect=false} url_preload.headers {customheader=Accept-Encoding=gzip,deflate} url_preload.headers {postdata=station0='channel'&station1=&station2=&station3=&station4=&stationNew=} ** experiment without preload, also works!! *url_index{url()|http://www.csfd.cz/televize/?day=|urldate|&do=stationSelectForm-submit} *url_index.headers {method=POST|allowautoredirect=true} *url_index.headers {customheader=Accept-Encoding=gzip,deflate} *url_index.headers {postdata=station0='channel'&station1=&station2=&station3=&station4=&stationNew=} ** url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {daycounter|0} * index_showsplit.scrub {multi|
||
|} country.scrub {single(separator=" / ")|||, |">}
showicon.scrub {single|")}
description.modify {cleanup}
*
director.modify {cleanup(tags="<"">")}
actor.modify {cleanup(tags="<"">")}
producer.modify {cleanup(tags="<"">")}
writer.modify {cleanup(tags="<"">")}
composer.modify {cleanup(tags="<"">")}
*
starrating.modify {calculate(format=F1)|10 /}
starrating.modify {clear("0.0")}
showicon.modify {clear(~ "poster-free")}
showicon.modify {addstart(not "")|http:}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index {url|http://www.csfd.cz/televize/}
*index_site_id.scrub {multi(debug exclude="- odebrat stanici -")|