Benim verdiğim xml dosyasını kullananlar varsa şimdiden bilgilendirmek isterim ki host ile olan sıkıntı nedeniyle artık xml paylaşamayacağım. Bu sıkıntıdan ötürü sadece ulusal kanalları bu xml'ye dahil edebiliyorum dosya boyutunu düşürmek adına. Bir kaç gün daha hosta xml dosyasını upload edebileceğim maalesef. Hostun süresi bitiyor zaten.
Bu arada ricam üzerine iki ini daha yaptı @Blackbear199
sinematv.com.tr.ini
sinematv.com.tr.channels.xml
sinetivi.com.tr.ini
sinetivi.com.tr.channels.xml
Bu arada ricam üzerine iki ini daha yaptı @Blackbear199
sinematv.com.tr.ini
Kod:
**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: sinematv.com.tr * @MinSWversion: V2.1 * @Revision 0 - [18/07/2017] Blackbear199 * - creation * @Remarks: current month programming only * @header_end **------------------------------------------------------------------------------------------------ site {url=sinematv.com.tr|timezone=Europe/Istanbul|maxdays=31|cultureinfo=tr-TR|charset=UTF-8|titlematchfactor=90} site {ratingsystem=TR|episodesystem=onscreen|keepindexpage} * url_index{url|http://www.sinematv.com.tr/timeline.aspx?date=|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * urldate.format {datestring|ddd"%20"MMM"%20"dd"%20"yyyy|en-GB} * index_variable_element.modify {set|'config_site_id'} index_showsplit.scrub {multi(includeblock="'index_variable_element'"")|<div id="ContentPlaceHolder1_container|<div class="tl_event_details"||<!--} index_showsplit.modify {replace|<div class="tl_description_header_title"><a href=""></a></div>|<div class="tl_description_header_title"><a href="">No Programming/Programlama yok</a></div>} * index_urlshow {url|http://www.sinematv.com.tr|<div class="tl_description_header_title">|('|')|</a>} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * index_start.scrub {regex||<div class="tl_description_time">[^,]*,\s(\d{2}:\d{2})\s-\s\d{2}:\d{2}</div>||} index_stop.scrub {regex||<div class="tl_description_time">[^,]*,\s\d{2}:\d{2}\s-\s(\d{2}:\d{2})</div>||} index_title.scrub {single|<div class="tl_description_header_title">||</div>|</div>} index_subtitle.scrub {single|<div class="tl_description_header_subtitle">||</div>|</div>} index_description.scrub {single(includeblock="background: url")|<a href=|</a>|<div class="tl_description_bottom">|</div>} index_showicon.scrub {single|background: url(||?|?} * index_title.modify {cleanup(tags="<"">")} index_title.modify {remove(type=regex)\(\d{4}\)} index_subtitle.modify {cleanup(tags="<"">")} index_subtitle.modify {remove(type=regex)|\s*\([^\)]*\)} * title.scrub {single|<span class="layerTitleBigYellow">||</span>|</span>} description.scrub {single|<div id="summaryContent"|">|</div>|</div>} director.scrub {single(separator=", ")|<span class='layerTextDirector'>||</span>|</span>} actor.scrub {single(separator=", ")|<span class='layerTextCast'>/||</span>|</span>} category.scrub{single(separator="!??!" include=last)|class="layerTextGenre">||</span>|</span>} productiondate.scrub{single(separator="!??!" include=first)|class="layerTextGenre">||</span>|</span>} rating.scrub {regex||<div class="advanced-sliderSmartSignParent">(?:.*?)(?:src='http://www.sinematv.com.tr/css/images/smartsigns/(\d+)_gray.png'(?:.*?))*</span>||} ratingicon.scrub {regex||<div class="advanced-sliderSmartSignParent">(?:.*?)(?:src='(http://www.sinematv.com.tr/css/images/smartsigns/(\d+)_gray.png)'(?:.*?))*</span>||} episode.scrub {regex(pattern="'S1'.SEZON - 'E1'.BÖLÜM")||onchange="NavigateEpisode\(\);" style="width:180px;">(?:.*?)(?:<option selected="selected" value="[^"]*">([^<]*)</option>)(?:.*?)</select>||} * title.modify {remove(type=regex)\(\d{4}\)} director.modify {cleanup} actor.modify {cleanup} category.modify {replace|, |\|} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_id.scrub {regex||<div id="ContentPlaceHolder1_container([^"]*)" class="tl_location">||} *index_site_channel.scrub {regex||<div(?:\sclass='selectedLocation')? style='margin-top\: (?:9\|14)px;'>([^<]*)</div>||} ** @auto_xml_channel_end
Kod:
<?xml version="1.0" encoding="UTF-8"?> <site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.1 -- Jan van Straaten" site="sinematv.com.tr"> <channels> <channel update="i" site="sinematv.com.tr" site_id="SinemaTV" xmltv_id="SinemaTV">SinemaTV</channel> <channel update="i" site="sinematv.com.tr" site_id="SinemaTV2" xmltv_id="SinemaTV 2">SinemaTV 2</channel> <channel update="i" site="sinematv.com.tr" site_id="SinemaTVAile" xmltv_id="SinemaTV Aile">SinemaTV Aile</channel> <channel update="i" site="sinematv.com.tr" site_id="SinemaTV1001" xmltv_id="SinemaTV 1001">SinemaTV 1001</channel> <channel update="i" site="sinematv.com.tr" site_id="SinemaTVAksiyon" xmltv_id="SinemaTV Aksiyon">SinemaTV Aksiyon</channel> <channel update="i" site="sinematv.com.tr" site_id="DiziTV" xmltv_id="Dizi TV">Dizi TV</channel> </channels> </site>
Kod:
**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: sinetivi.com.tr * @MinSWversion: V2.1 * @Revision 0 - [18/07/2017] Blackbear199 * - creation * @Remarks: current month programming only * @header_end **------------------------------------------------------------------------------------------------ site {url=sinetivi.com.tr|timezone=Europe/Istanbul|maxdays=6|cultureinfo=tr-TR|charset=UTF-8|titlematchfactor=90} site {ratingsystem=TR|episodesystem=onscreen|keepindexpage} * url_index{url|http://www.sinetivi.com.tr/getepgdata?datetime=|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * urldate.format {datestring|yyyy"%2F"MM"%2F"dd} * index_variable_element.modify {set|'config_site_id'} index_showsplit.scrub {multi(includeblock="'index_variable_element'")|{"ChannelId":|"Programs":[{|}]}|]}]}} index_showsplit.modify {replace|\},\{|\|} *index_showsplit.modify {(debug)} for debug * index_start.scrub {single|"StartTime":"||"|"} index_stop.scrub {single|"EndTime":"||"|"} index_title.scrub {single|"Title":"||",|",} ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *index_site_id.scrub {regex||{"ChannelId":(\d+),"ChannelName":"[^"]*",||} *index_site_channel.scrub {regex||{"ChannelId":\d+,"ChannelName":"([^"]*)",||} ** @auto_xml_channel_end
Kod:
<?xml version="1.0" encoding="UTF-8"?> <site generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.1 -- Jan van Straaten" site="sinetivi.com.tr"> <channels> <channel update="i" site="sinetivi.com.tr" site_id="87613689" xmltv_id="Sinetivi1">Sinetivi1</channel> <channel update="i" site="sinetivi.com.tr" site_id="87613757" xmltv_id="Sinetivi2">Sinetivi2</channel> <channel update="i" site="sinetivi.com.tr" site_id="100916332" xmltv_id="Karnaval1">Karnaval1</channel> <channel update="i" site="sinetivi.com.tr" site_id="100916439" xmltv_id="Karnaval2">Karnaval2</channel> <channel update="i" site="sinetivi.com.tr" site_id="87613786" xmltv_id="Adrenalin1">Adrenalin1</channel> <channel update="i" site="sinetivi.com.tr" site_id="87613874" xmltv_id="Adrenalin2">Adrenalin2</channel> </channels> </site>
Yorum yap