Оценете темата:
  • 0 гласа - средно 0
  • 1
  • 2
  • 3
  • 4
  • 5
WebGrab+ - конфигурация и настройки на ini файлове
Заповядай:
Код:
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: dnevnik.bg
* @Revision 0 - [16/11/2016] Harry_GG
*   - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------

site {timezone=Europe/Sofia|maxdays=3|cultureinfo=bg-BG|charset=UTF-8|titlematchfactor=90}
url_index{url|http://www.dnevnik.bg/sled5/tv/|channel|/|urldate|}
urldate.format {datestring|yyyyMMdd}
index_urlchannellogo.modify {addstart|http://logos.epg.cloudns.org/'config_xmltv_id'.png}
index_urlchannellogo.modify {cleanup(style=lower)}
*
index_showsplit.scrub {multi|section class="block-channel|<tr>|</tr>|</section>}
index_start.scrub{regex||td>(\d\d:\d\d)<||}
index_title.scrub{single(includeblock=2)|<td|>|<|/td>}
**  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
**      #####  CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
** Follow the guied http://www.webgrabplus.com/documentation/configuration/sitechannelsxml
** enable the next four lines to create a channel list (file needs editting)
** @auto_xml_channel_start
*scope.range {(channellist)|end}
*url_index{url(debug)|http://www.dnevnik.bg/sled5/tv/}
*index_site_id.scrub {multi()|class="tvproglist">|for="channels|"|</ul>}
*index_site_channel.scrub {multi()|class="tvproglist">|prgs">|</label|</ul>}
*end_scope
** @auto_xml_channel_end

и инвокъра:
Код:
<channel update="i" site="dnevnik.bg" site_id="335_Nostalgia" xmltv_id="NOSTALGIA">NOSTALGIA</channel>
[Изображение: notrobosmall.jpg]
Отговори


Съобщения в темата
RE: WebGrab+ - конфигурация и настройки на ini файлове - от Majide - 09-03-2025, 15:32

Теми, които вероятно са свързани...
Тема: Автор Отговори: Прегледи: Последна публикация
  WGmulti за WebGrab++ harry_gg 21 1,367 21-01-2017, 01:39
Последна публикация: ZZlatev

Отваряне на: