You are here

Spanish radios

9 posts / 0 new
Last post
nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years
Spanish radios

Hi,

I would like to request some sites (radio channels) broadcasted in the DVB-T network to get the program details of them.
--------------------------------------------------------------------------------
Onda Cero:
http://www.ondacero.es/programacion/

<head>
<title>ONDACERO RADIO | MÁS DE UNO en ONDACERO. Carlos Alsina y Juan Ramón Lucas - RADIO ONDA CERO, L-V de 6 a 12:30, España (UE)</title>
<meta charset="UTF-8"/>
<meta name="robots" content="index, follow" />
<meta name="GOOGLEBOT" content="index follow" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="pageRender" content="Thu Jun 21 21:43:43 CEST 2018"/>

<!-- Metadatos métricas -->
<meta name="serie-programa" content="Más de uno"/>
<meta name="tipo-contenido" content="Entretenimiento"/>
<!--metadatos para Twitter Cards -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="http://image.ondacero.es/clipping/cmsimages01/2016/08/24/D66F86E0-3BDD-4... />
<meta name="twitter:site" content="@OndaCero_es">

The title should be something like this:
<meta name="serie-programa" content="Más de uno"/>

The description could match with this entry:
<title>ONDACERO RADIO | MÁS DE UNO en ONDACERO. Carlos Alsina y Juan Ramón Lucas - RADIO ONDA CERO, L-V de 6 a 12:30, España (UE)</title>

And the image should be this:
<meta name="twitter:image" content="http://image.ondacero.es/clipping/cmsimages01/2016/08/24/D66F86E0-3BDD-4... />

In order to fill the subtitle field with the info of the presenters of the program I think we should check this:
<p class="antetitulo">CON CARLOS ALSINA Y JUAN RAMÓN LUCAS</p>
--------------------------------------------------------------------------------

Europa FM
http://www.europafm.com/programacion/

Is similar to Onda Cero site... but I´m not sure how to locate the info regarding the programs and the schedules.
--------------------------------------------------------------------------------

Cadena Dial
https://play.cadenadial.com/programacion/

<a class="ajax-link lead"
data-link-href="/programa/formula_cadena_dial/"
title="Fórmula Cadena Dial" href="/programa/formula_cadena_dial/">Fórmula Cadena Dial</a>
<p class="sub">Alberto Lezaun</p>
</div>
</div>
<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Event",
"name": "Fórmula Cadena Dial",
"description": "Escucha el podcast de Fórmula Cadena Dial. Accede a todos audios con los mejores momentos del programa de radio musical",
"url": "https://play.cadenadial.com/programa/formula_cadena_dial/",
"image": "https://recursosweb.prisaradio.com/fotos/original/010002342636.jpg",
"startDate": "2018-07-10T21:00",
"endDate": "2018-07-10T23:59",
"location": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressCountry": "ES"
},
"name": "Cadena Dial"
}}</script>
</div>
</div>
<div class="panel">
<div class="item media panel-X hidden">
<div class="media-left">
<a class="ajax-link"
title="Escucha Fórmula Cadena Dial en Cadena Dial "
data-link-href="/programa/formula_cadena_dial/"
href="/programa/formula_cadena_dial/">
<img src="https://recursosweb.prisaradio.com/fotos/original/010002342644.jpg" alt="Escucha Fórmula Cadena Dial en Cadena Dial">
</a>
The title should be something like this:
title="Fórmula Cadena Dial"

The description could match with this entry:
alt="Escucha Fórmula Cadena Dial en Cadena Dial">

And the image should be this:
<img src="https://recursosweb.prisaradio.com/fotos/original/010002342644.jpg"

In order to fill the subtitle field with the info of the presenters of the program I think we should check this:
<p class="sub">Alberto Lezaun</p>
--------------------------------------------------------------------------------

Los 40
https://play.los40.com/programacion/

<div class="media-left">
<a class="ajax-link"
title="Escucha Anda Ya en LOS40 "
data-link-href="/programa/anda_ya/"
href="/programa/anda_ya/">
<img src="https://recursosweb.prisaradio.com/fotos/original/010002428901.jpg" alt="Escucha Anda Ya en LOS40">
</a>
</div>
<div class="media-body">
<div class="horario">
<p>De 06:00 a 11:00</p>
</div>
<div class="itemDatos">
<a class="ajax-link lead"
data-link-href="/programa/anda_ya/"
title="Anda Ya " href="/programa/anda_ya/">Anda Ya </a>
<p class="sub">Dani Moreno</p>
</div>

The title should be something like this:
title="Anda Ya "

The description could match with this entry:
alt="Escucha Anda Ya en LOS40">

And the image should be this:
<img src="https://recursosweb.prisaradio.com/fotos/original/010002428901.jpg"

In order to fill the subtitle field with the info of the presenters of the program I think we should check this:
<p class="sub">Dani Moreno</p>
--------------------------------------------------------------------------------

Onda Madrid
www.telemadrid.es/programacion-ondamadrid

<a href="/deunoenuno" target="_blank"><img src="http://www.telemadrid.es/sites/default/files/Images2017/DE-UNO-EN-UNO-WE... alt="De uno en uno" width="300" height="211" /></a>
</div>
<div class="hora">
<div>22:05 - 23:05</div>
<div class="duracion">(60 minutos)</div>
<div class="etiquetas">

<img src="/sites/all/themes/telemadrid/img/icon-tp.png" alt="Todos los P&uacute;blicos" title="Todos los P&uacute;blicos"/>
</div>
</div>
<div class="info">
<a href="/deunoenuno" class="titulo" target="_blank">De uno en uno</a>
<div class="sub_titulo">Presenta Isabel García Regadera</div>
<a href="javascript:void(0);" class="ver">Ver más</a>
<div id="txt_corto" class="txt txt_corto" style="display:none;">Espacio que recupera el tradicional géne...</div>
<div id="txt_largo" class="txt txt_largo activo" style="display:none;">Espacio que recupera el tradicional género radiofónico de la entrevista en profundidad. Personajes de todo tipo, tanto famosos como anónimos, entablan una charla cordial, amena y cercana con la periodista Isabel García Regadera</div>
</div>

The title should be something like this:
target="_blank">De uno en uno</a>

The description could match with this entry:
<div id="txt_largo" class="txt txt_largo activo" style="display:none;">Espacio que recupera el tradicional género radiofónico de la entrevista en profundidad. Personajes de todo tipo, tanto famosos como anónimos, entablan una charla cordial, amena y cercana con la periodista Isabel García Regadera</div></div>

And the image should be this:
<a href="/deunoenuno" target="_blank"><img src="http://www.telemadrid.es/sites/default/files/Images2017/DE-UNO-EN-UNO-WE... alt="De uno en uno" width="300" height="211" /></a></div>

In order to fill the subtitle field with the info of the presenters of the program I think we should check this:
<div class="sub_titulo">Presenta Isabel García Regadera</div>
--------------------------------------------------------------------------------

As in other posts... Maybe I´m wrong highlighting that lines... in that case sorry. My intention was just to help speeding up the data to scrap.

If you need anything else just let me know.

Thanks and best regards

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours

the first ondacero

Attachments: 
nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years
mat8861 wrote:

the first ondacero

Thank you very much @mat8861
I´ll try it tonight
Kind regards

nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years
nickiman wrote:

mat8861 wrote:
the first ondacero

Thank you very much @mat8861
I´ll try it tonight
Kind regards

I´ve had a while during the meal and I´ve tried it... with no success :-(
This is what I get:

( 11/11 ) ONDACERO.ES -- chan. (xmltv_id=ONDA CERO) -- mode Smart
iiiiiii
Unable to update channel ONDA CERO
Generic syntax exception:
message:
no index page data received from ONDA CERO
unable to update channel, try again later
Existing guide data restored!

I attach in this post the complete log.
Thanks

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours

For Ondaceero they changed to 5 days instead of 7, so change in "site" :
maxdays=5

Attached the 3 channel of telemadrid

Attachments: 
nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years
mat8861 wrote:

For Ondaceero they changed to 5 days instead of 7, so change in "site" :
maxdays=5
Attached the 3 channel of telemadrid

Great! now works ondacero.
I´ve tried with telemadrid also and works perfectly too.
Thanks a lot!

nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years

Hi,

I´m kindly ask for the rest of the sites written in my first post:

--------------------------------------------------------------------------------

Europa FM
http://www.europafm.com/programacion/

--------------------------------------------------------------------------------

Cadena Dial
https://play.cadenadial.com/programacion/

--------------------------------------------------------------------------------

Los 40
https://play.los40.com/programacion/

--------------------------------------------------------------------------------

Are these sites able to be scrapped also?

Thanks and best regards.

nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years

Hi Blackbear!
Good to hear that all sites can be scraped.

Regarding not feeling motivated... don´t worry, It´s not urgently needed. But, anyway, I hope you will be OK and you´re having a good summer.

Best regards.

nickiman
Offline
nickiman's picture
Donator
Joined: 9 years
Last seen: 3 years

Sorry @Blackbear199, I haven´t seen your reply until today...

Regarding Europa FM... when I was checking the programs in the web site I saw that could be scrapped but, without to check the time of the programs so, no problem if can´t be done.

Yes, I will follow your suggestion and I´ll check all the programs of the week to create the EPG manually with the fixed.ini

Big thanks to you and @mat8861 to take care of my request.

Keep in touch!

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl