**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: truyenhinhanvien.vn
* @MinSWversion: 1.1.1/54
* @Revision 0 - [10/05/2016] Blackbear199
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=truyenhinhanvien.vn|timezone=UTC+07:00|maxdays=14|cultureinfo=vi-VN|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=vn|episodesystem=onscreen}
url_index{url|http://truyenhinhanvien.vn/SP/ScheduleHot.aspx?channel=|channel|&size=50&date=|urldate|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format={datestring|yyyy/MM/dd}
*
index_showsplit.scrub {multi(debug)|
|||}
*
index_date.scrub {single(pattern="dd/MM")|
|||}
index_start.scrub {single|
|||}
index_title.scrub {single(separator=":" include=first)|||
| }
index_description.scrub {single(separator=":" include=last)|||
|}
index_description.modify {clear('index_description' 'index_title')}
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|http://truyenhinhanvien.vn/lich-phat-song/}
*url_index.headers {method=POST}
*url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8}
*url_index.headers {contenttype=application/x-www-form-urlencoded}
*url_index.headers {postdata=RadScriptManager1_TSM=%3B%3BSystem.Web.Extensions%2C+Version%3D4.0.0.0%2C+Culture%3Dneutral%2C+PublicKeyToken%3D31bf3856ad364e35%3Aen-US%3A8f393b2b-3315-402f-b504-cd6d2db001f6%3Aea597d4b%3Ab25378d2&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwULLTEwODE1NzE1NTFkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBRFjdGwwNSRjdGwwMSRJc0hvdA%3D%3D&km=T%E1%BB%AB+kh%C3%B3a+t%C3%ACm+ki%E1%BA%BFm...&ctl05_ctl01_ChooseDate='urldate'&ctl05%24ctl01%24Channel=Ch%E1%BB%8Dn+k%C3%AAnh&ctl05%24ctl01%24Programmer=Ch%E1%BB%8Dn+ch%C6%B0%C6%A1ng+tr%C3%ACnh&ctl05%24ctl01%24HourPeriod=Th%E1%BB%9Di+gian&ctl05%24ctl01%24btnBSSubmit=T%C3%ACm+ki%E1%BA%BFm}
*index_site_id.scrub {|}
*index_temp_9.scrub {multi(includeblock=1)||}
*index_site_id.modify {substring(type=regex)|'index_temp_9' "value=\"(.+?)\""}
*index_site_id.modify {cleanup(style=urlencode)}
*index_site_channel.modify {substring(type=regex)|'index_temp_9' "value=\"[^>]*\">(.+?)<\/option>"}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
** @auto_xml_channel_end