Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackbear199 committed Dec 7, 2016
1 parent bcb6807 commit 87772ba
Show file tree
Hide file tree
Showing 8 changed files with 933 additions and 360 deletions.
137 changes: 137 additions & 0 deletions siteini.pack/Spain/ono.es.channels.xml
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<site generator-info-name="WebGrab+Plus/w MDB &amp; REX Postprocess -- version V1.57 -- Jan van Straaten" site="ono.es">
<channels>
<channel update="i" site="ono.es" site_id="1" xmltv_id="TVE1">TVE1</channel>
<channel update="i" site="ono.es" site_id="2" xmltv_id="TVE2">TVE2</channel>
<channel update="i" site="ono.es" site_id="3" xmltv_id="Antena 3">Antena 3</channel>
<channel update="i" site="ono.es" site_id="4" xmltv_id="Cuatro">Cuatro</channel>
<channel update="i" site="ono.es" site_id="5" xmltv_id="Tele5">Tele5</channel>
<channel update="i" site="ono.es" site_id="6" xmltv_id="La Sexta">La Sexta</channel>
<channel update="i" site="ono.es" site_id="401" xmltv_id="AMC">AMC</channel>
<channel update="i" site="ono.es" site_id="164" xmltv_id="Canal Hollywood">Canal Hollywood</channel>
<channel update="i" site="ono.es" site_id="165" xmltv_id="Canal Hollywood+1">Canal Hollywood+1</channel>
<channel update="i" site="ono.es" site_id="21" xmltv_id="TCM">TCM</channel>
<channel update="i" site="ono.es" site_id="22" xmltv_id="TCM +1">TCM +1</channel>
<channel update="i" site="ono.es" site_id="392" xmltv_id="Sundance TV">Sundance TV</channel>
<channel update="i" site="ono.es" site_id="23" xmltv_id="Somos">Somos</channel>
<channel update="i" site="ono.es" site_id="19" xmltv_id="XTRM">XTRM</channel>
<channel update="i" site="ono.es" site_id="28" xmltv_id="Buzz/Dorcel TV">Buzz/Dorcel TV</channel>
<channel update="i" site="ono.es" site_id="332" xmltv_id="Paramount Channel">Paramount Channel</channel>
<channel update="i" site="ono.es" site_id="26" xmltv_id="FOX">FOX</channel>
<channel update="i" site="ono.es" site_id="389" xmltv_id="FOX Life">FOX Life</channel>
<channel update="i" site="ono.es" site_id="27" xmltv_id="AXN">AXN</channel>
<channel update="i" site="ono.es" site_id="257" xmltv_id="AXN White">AXN White</channel>
<channel update="i" site="ono.es" site_id="212" xmltv_id="TNT">TNT</channel>
<channel update="i" site="ono.es" site_id="163" xmltv_id="Syfy">Syfy</channel>
<channel update="i" site="ono.es" site_id="25" xmltv_id="Calle 13">Calle 13</channel>
<channel update="i" site="ono.es" site_id="31" xmltv_id="Comedy Central">Comedy Central</channel>
<channel update="i" site="ono.es" site_id="29" xmltv_id="COSMO">COSMO</channel>
<channel update="i" site="ono.es" site_id="427" xmltv_id="MTV España">MTV España</channel>
<channel update="i" site="ono.es" site_id="327" xmltv_id="Energy">Energy</channel>
<channel update="i" site="ono.es" site_id="247" xmltv_id="Divinity">Divinity</channel>
<channel update="i" site="ono.es" site_id="33" xmltv_id="FDF">FDF</channel>
<channel update="i" site="ono.es" site_id="432" xmltv_id="BE MAD">BE MAD</channel>
<channel update="i" site="ono.es" site_id="431" xmltv_id="ATRESERIES HD">ATRESERIES HD</channel>
<channel update="i" site="ono.es" site_id="408" xmltv_id="MEGA">MEGA</channel>
<channel update="i" site="ono.es" site_id="151" xmltv_id="Neox">Neox</channel>
<channel update="i" site="ono.es" site_id="152" xmltv_id="Nova">Nova</channel>
<channel update="i" site="ono.es" site_id="192" xmltv_id="13 TV">13 TV</channel>
<channel update="i" site="ono.es" site_id="436" xmltv_id="TEN">TEN</channel>
<channel update="i" site="ono.es" site_id="446" xmltv_id="DKISS TV">DKISS TV</channel>
<channel update="i" site="ono.es" site_id="399" xmltv_id="AZ Corazón">AZ Corazón</channel>
<channel update="i" site="ono.es" site_id="65" xmltv_id="Canal Cocina">Canal Cocina</channel>
<channel update="i" site="ono.es" site_id="66" xmltv_id="Canal Decasa">Canal Decasa</channel>
<channel update="i" site="ono.es" site_id="373" xmltv_id="MyZenTV">MyZenTV</channel>
<channel update="i" site="ono.es" site_id="406" xmltv_id="FASHION ONE">FASHION ONE</channel>
<channel update="i" site="ono.es" site_id="375" xmltv_id="Canal Galería">Canal Galería</channel>
<channel update="i" site="ono.es" site_id="37" xmltv_id="Disney Channel">Disney Channel</channel>
<channel update="i" site="ono.es" site_id="38" xmltv_id="Disney Channel +1">Disney Channel +1</channel>
<channel update="i" site="ono.es" site_id="43" xmltv_id="Disney XD">Disney XD</channel>
<channel update="i" site="ono.es" site_id="108" xmltv_id="Disney XD +1">Disney XD +1</channel>
<channel update="i" site="ono.es" site_id="39" xmltv_id="Disney Junior">Disney Junior</channel>
<channel update="i" site="ono.es" site_id="44" xmltv_id="Nickelodeon">Nickelodeon</channel>
<channel update="i" site="ono.es" site_id="162" xmltv_id="Nick Junior">Nick Junior</channel>
<channel update="i" site="ono.es" site_id="40" xmltv_id="Panda">Panda</channel>
<channel update="i" site="ono.es" site_id="133" xmltv_id="Baby TV">Baby TV</channel>
<channel update="i" site="ono.es" site_id="47" xmltv_id="Clan TVE">Clan TVE</channel>
<channel update="i" site="ono.es" site_id="252" xmltv_id="BOING">BOING</channel>
<channel update="i" site="ono.es" site_id="410" xmltv_id="El Partidazo">El Partidazo</channel>
<channel update="i" site="ono.es" site_id="411" xmltv_id="beIN LaLiga">beIN LaLiga</channel>
<channel update="i" site="ono.es" site_id="412" xmltv_id="beIN LaLiga MAX 1">beIN LaLiga MAX 1</channel>
<channel update="i" site="ono.es" site_id="413" xmltv_id="beIN LaLiga MAX 2">beIN LaLiga MAX 2</channel>
<channel update="i" site="ono.es" site_id="414" xmltv_id="beIN LaLiga MAX 3">beIN LaLiga MAX 3</channel>
<channel update="i" site="ono.es" site_id="415" xmltv_id="beIN LaLiga MAX 4">beIN LaLiga MAX 4</channel>
<channel update="i" site="ono.es" site_id="447" xmltv_id="GOL T">GOL T</channel>
<channel update="i" site="ono.es" site_id="448" xmltv_id="LaLiga 1!??!2!??!3 TV">LaLiga 1!??!2!??!3 TV</channel>
<channel update="i" site="ono.es" site_id="449" xmltv_id="LaLiga 1!??!2!??!3 Multi 1">LaLiga 1!??!2!??!3 Multi 1</channel>
<channel update="i" site="ono.es" site_id="450" xmltv_id="LaLiga 1!??!2!??!3 Multi 2">LaLiga 1!??!2!??!3 Multi 2</channel>
<channel update="i" site="ono.es" site_id="451" xmltv_id="LaLiga 1!??!2!??!3 Multi 3">LaLiga 1!??!2!??!3 Multi 3</channel>
<channel update="i" site="ono.es" site_id="419" xmltv_id="beIN Sports">beIN Sports</channel>
<channel update="i" site="ono.es" site_id="420" xmltv_id="beIN Sport MAX 1">beIN Sport MAX 1</channel>
<channel update="i" site="ono.es" site_id="421" xmltv_id="beIN Sport MAX 2">beIN Sport MAX 2</channel>
<channel update="i" site="ono.es" site_id="422" xmltv_id="beIN Sport MAX 3">beIN Sport MAX 3</channel>
<channel update="i" site="ono.es" site_id="423" xmltv_id="beIN Sport MAX 4">beIN Sport MAX 4</channel>
<channel update="i" site="ono.es" site_id="424" xmltv_id="beIN Sport MAX 5">beIN Sport MAX 5</channel>
<channel update="i" site="ono.es" site_id="425" xmltv_id="beIN Sport MAX 6">beIN Sport MAX 6</channel>
<channel update="i" site="ono.es" site_id="426" xmltv_id="beIN Sport MAX 7">beIN Sport MAX 7</channel>
<channel update="i" site="ono.es" site_id="442" xmltv_id="EUROSPORT">EUROSPORT</channel>
<channel update="i" site="ono.es" site_id="444" xmltv_id="EUROSPORT 2">EUROSPORT 2</channel>
<channel update="i" site="ono.es" site_id="48" xmltv_id="Teledeporte">Teledeporte</channel>
<channel update="i" site="ono.es" site_id="362" xmltv_id="GARAGE TV">GARAGE TV</channel>
<channel update="i" site="ono.es" site_id="54" xmltv_id="Motors TV">Motors TV</channel>
<channel update="i" site="ono.es" site_id="385" xmltv_id="Fight Sports">Fight Sports</channel>
<channel update="i" site="ono.es" site_id="52" xmltv_id="Extreme Sports">Extreme Sports</channel>
<channel update="i" site="ono.es" site_id="155" xmltv_id="Cazavisión">Cazavisión</channel>
<channel update="i" site="ono.es" site_id="434" xmltv_id="REAL MADRID TV">REAL MADRID TV</channel>
<channel update="i" site="ono.es" site_id="61" xmltv_id="National Geographic">National Geographic</channel>
<channel update="i" site="ono.es" site_id="335" xmltv_id="Nat Geo Wild">Nat Geo Wild</channel>
<channel update="i" site="ono.es" site_id="336" xmltv_id="Viajar">Viajar</channel>
<channel update="i" site="ono.es" site_id="56" xmltv_id="Discovery Channel">Discovery Channel</channel>
<channel update="i" site="ono.es" site_id="344" xmltv_id="Discovery Max">Discovery Max</channel>
<channel update="i" site="ono.es" site_id="59" xmltv_id="Odisea">Odisea</channel>
<channel update="i" site="ono.es" site_id="57" xmltv_id="HISTORIA">HISTORIA</channel>
<channel update="i" site="ono.es" site_id="391" xmltv_id="AE">AE</channel>
<channel update="i" site="ono.es" site_id="109" xmltv_id="Crimen + Investigación">Crimen + Investigación</channel>
<channel update="i" site="ono.es" site_id="68" xmltv_id="Sol Música">Sol Música</channel>
<channel update="i" site="ono.es" site_id="317" xmltv_id="MTV Live HD">MTV Live HD</channel>
<channel update="i" site="ono.es" site_id="70" xmltv_id="MTV Rocks">MTV Rocks</channel>
<channel update="i" site="ono.es" site_id="71" xmltv_id="MTV Hits">MTV Hits</channel>
<channel update="i" site="ono.es" site_id="72" xmltv_id="MTV Dance">MTV Dance</channel>
<channel update="i" site="ono.es" site_id="146" xmltv_id="MTV Music">MTV Music</channel>
<channel update="i" site="ono.es" site_id="73" xmltv_id="VH1">VH1</channel>
<channel update="i" site="ono.es" site_id="74" xmltv_id="VH1 Classic">VH1 Classic</channel>
<channel update="i" site="ono.es" site_id="75" xmltv_id="Mezzo">Mezzo</channel>
<channel update="i" site="ono.es" site_id="76" xmltv_id="Canal 24 Horas">Canal 24 Horas</channel>
<channel update="i" site="ono.es" site_id="77" xmltv_id="Euronews">Euronews</channel>
<channel update="i" site="ono.es" site_id="334" xmltv_id="CCTV-E">CCTV-E</channel>
<channel update="i" site="ono.es" site_id="182" xmltv_id="RT en español">RT en español</channel>
<channel update="i" site="ono.es" site_id="187" xmltv_id="France 24">France 24</channel>
<channel update="i" site="ono.es" site_id="78" xmltv_id="Bloomberg">Bloomberg</channel>
<channel update="i" site="ono.es" site_id="79" xmltv_id="CNBC">CNBC</channel>
<channel update="i" site="ono.es" site_id="80" xmltv_id="CNN Internacional">CNN Internacional</channel>
<channel update="i" site="ono.es" site_id="81" xmltv_id="BBC World">BBC World</channel>
<channel update="i" site="ono.es" site_id="82" xmltv_id="Al Jazeera">Al Jazeera</channel>
<channel update="i" site="ono.es" site_id="83" xmltv_id="Canal Parlamento">Canal Parlamento</channel>
<channel update="i" site="ono.es" site_id="409" xmltv_id="Viral TV">Viral TV</channel>
<channel update="i" site="ono.es" site_id="84" xmltv_id="Intereconomia TV">Intereconomia TV</channel>
<channel update="i" site="ono.es" site_id="86" xmltv_id="EWTN">EWTN</channel>
<channel update="i" site="ono.es" site_id="405" xmltv_id="TAROTEAME">TAROTEAME</channel>
<channel update="i" site="ono.es" site_id="355" xmltv_id="HUSTLER TV">HUSTLER TV</channel>
<channel update="i" site="ono.es" site_id="384" xmltv_id="El Trece Internacional">El Trece Internacional</channel>
<channel update="i" site="ono.es" site_id="148" xmltv_id="Ve Plus TV">Ve Plus TV</channel>
<channel update="i" site="ono.es" site_id="93" xmltv_id="Caracol TV Internacional">Caracol TV Internacional</channel>
<channel update="i" site="ono.es" site_id="94" xmltv_id="TV Colombia">TV Colombia</channel>
<channel update="i" site="ono.es" site_id="95" xmltv_id="TV Chile Internacional">TV Chile Internacional</channel>
<channel update="i" site="ono.es" site_id="96" xmltv_id="Cubavisión Internacional">Cubavisión Internacional</channel>
<channel update="i" site="ono.es" site_id="89" xmltv_id="Deutsche Welle">Deutsche Welle</channel>
<channel update="i" site="ono.es" site_id="91" xmltv_id="TV5 Monde">TV5 Monde</channel>
<channel update="i" site="ono.es" site_id="92" xmltv_id="Arte">Arte</channel>
<channel update="i" site="ono.es" site_id="227" xmltv_id="RTM">RTM</channel>
<channel update="i" site="ono.es" site_id="232" xmltv_id="TV Polonia">TV Polonia</channel>
<channel update="i" site="ono.es" site_id="237" xmltv_id="PRO TV Internacional">PRO TV Internacional</channel>
<channel update="i" site="ono.es" site_id="100" xmltv_id="TVG Sat">TVG Sat</channel>
<channel update="i" site="ono.es" site_id="104" xmltv_id="ETB Sat">ETB Sat</channel>
<channel update="i" site="ono.es" site_id="105" xmltv_id="TV3 Cat">TV3 Cat</channel>
<channel update="i" site="ono.es" site_id="106" xmltv_id="Canal Sur Andalucía">Canal Sur Andalucía</channel>
</channels>
</site>
80 changes: 80 additions & 0 deletions siteini.pack/Spain/ono.es.ini
@@ -0,0 +1,80 @@
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: ono.es
* @MinSWversion: V1.57
* @Revision 0 - [25/09/2016] Blackbear199
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=ono.es|timezone=Europe/Madrid|maxdays=12.1|cultureinfo=es-ES|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=ES|episodesystem=onscreen|retry=<retry time-out="20">4</retry>}
url_index{url|https://www.ono.es/epg-rest-api/json/channels.action?dials=|channel|&numDays=12}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {daycounter|0}
*
index_urlchannellogo {url|https://www.ono.es|"url":"||"|"}
*
index_showsplit.scrub {multi|"events":[|{|}|]}}
*
index_urlshow {url|https://www.ono.es/epg-rest-api/json/info.action?eventId=|"ei":||,|,}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*
index_urlsubdetail {url|https://www.ono.es/epg-rest-api/json/infoCastCredit.action?programId=|"pi":||,|,}
index_urlsubdetail.headers {customheader=Accept-Encoding=gzip,deflate}
*
scope.range{(indexshowdetails)|end}
index_start.scrub {single|"bT":"||.0"|.0"}
index_duration.scrub {single|"d":||,|,}
index_duration.modify {calculate(format=F0)|60 /}
index_title.scrub {single|"t":"||"|"}
index_temp_1.modify {calculate('index_title' ~ ": " format=F0 type=char)|'index_title' ":" -@}
index_title.modify {substring('index_temp_1' not "" type=char)|0 'index_temp_1'}
end_scope
*
scope.range{(showdetails)|end}
title.scrub {single|"program_title":"||"|"}
subtitle.scrub {single|"program_episode_title":"||"|"}
description.scrub {single|"program_desc":"||"|"}
rating.scrub {single|"age_rating":"||"|"}
category.scrub {single|"event_genre":"||"|"}
productiondate.scrub {single|,"program_year":||,|,}
country.scrub {single|"program_nationality":"||"|"}
starrating.scrub {single|"program_rating":"||"|"}
*
temp_1.scrub {single|"program_season_number":||,|,}
temp_1.modify {replace|null|}
temp_1.modify {addstart(not "")|S}
temp_2.scrub {single|"program_episode_number":||,|,}
temp_2.modify {replace|null|}
temp_2.modify {addstart(not "")|E}
episode.modify {addstart(pattern="S'S1'E'E1'""E'E1'")|'temp_1''temp_2'}
showicon.scrub {single|"program_image":["||"]|"]}
*
title.modify {remove('subtitle' not "")|: 'subtitle'}
subtitle.modify {clear(~ "Episodio")}
rating.modify {addend|+}
starrating.modify {calculate(format=F1)}
starrating.modify {clear("0.0")}
country.modify {cleanup(style=upper)}
showicon.modify {addstart(not "")|https://www.ono.es}
end_scope
*
scope.range{(showsubdetails)|end}
subdetail_director.scrub {multi|"program_credit":[|{"firstname":"|","nameid"|]}
subdetail_actor.scrub {multi|"program_cast":[|{"firstname":"|","nameid"|]}]}
*
subdetail_director.modify {replace|","lastname":"| }
subdetail_actor.modify {replace|","lastname":"| }
end_scope
*
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index {url|https://www.ono.es/epg-rest-api/json/dials.action}
*index_site_id.scrub {multi|{"id":||,|,}
*index_site_channel.scrub {multi|"name":"||"|"}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
** @auto_xml_channel_end

0 comments on commit 87772ba

Please sign in to comment.