You are here

canalsat.fr has changed

11 posts / 0 new
Last post
doglover
Offline
Joined: 11 years
Last seen: 3 years
canalsat.fr has changed

The canalsat.fr website has been changed.
Detail page are not loaded anymore.
Correction needed:
replace the existing index_urlshow
by:
index_urlshow {url ()|http://www.canalsat.fr/ajax/private/programme.ajax.php?pgid=|<a href="http://webgrabplus.com/%7Cprogramme%3D%7C"}
index_temp_1.scrub {single|<a href="http://webgrabplus.com/%7Cclass%3D"dfid-|"}
index_urlshow.modify {addend ()|&dfid='index_temp_1'&popin=grille}
and it will work again.
 
Willy
 

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 4 hours
Is the support helpful?
support us

Hi Willy
 
thanks for the changes. I also needed to change the index_showsplit , probably because the site changed again after you found the changes in urlshow.
The revised version is in the collection @ http://www.webgrabplus.com/sites/default/files/download/ini/info/SiteIni.Pack/France/canalsat.fr.ini
 
Jan

doglover
Offline
Joined: 11 years
Last seen: 3 years

canalsat has changed again.
Although the grabber still works at the moment.  But for how long?
The site is called now: http://www.mycanal.fr
I tried to grab from there, but no success yet.  Does anybody has more luck?
 
Willy

doglover
Offline
Joined: 11 years
Last seen: 3 years

Thanks.
 
Seems to work.  Two remarks:
1. Replace:
index_title.modify {replace|\u00e9|é}
index_title.modify {replace|\u00ef|ï}
index_title.modify {replace|\u00ea|ê}
 
by : index_title.modify {cleanup}
This catches all occurences of these unicode characters
 
2.  You better rename the SiteIni to mycanal.ini, because the channels list is different than for canalsat.fr.  This to avoid confusion.
 
Willy

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 12 years
Last seen: 1 week
Is the support helpful?
support us

FYI

[quote=doglover]
1. Replace:
index_title.modify {replace|\u00e9|é}
index_title.modify {replace|\u00ef|ï}
index_title.modify {replace|\u00ea|ê}
 
by : index_title.modify {cleanup}
This catches all occurences of these unicode characters

[/quote]

 

as of Beta 53.7, you can do it also as

index_title.modify {cleanup(style=unidecode)}

This only removes the unicode chars. And does not change anything else

doglover
Offline
Joined: 11 years
Last seen: 3 years

The episode scrub needs a bit of work:
    <episode-num system="onscreen">Vendredi 07 mars18h30 Météo, 05min</episode-num>
This does not look correct to me.
 
Willy

doglover
Offline
Joined: 11 years
Last seen: 3 years

 
Also the subtitle grab:
    <sub-title lang="fr">Eileen Davidson, JORDAN LEMNAH, PARKER ROSE CURRY, Bryton James, Darius McCrary, Beth Maitland, Peter Bergmann, Eric Braeden. Les jumeaux, Mathilda et Charlie, rentrent chez eux, accompagnés de Devon et de Malcolm. Ashley, William et Jack déjeunent avant d'aller au tribunal. Traci arrive avec Tucker...Voir à la demandeTéléchargerEnregistrerVoir en directPoster une critiqueVoir la bande annonce{lang: 'fr'}Critiques de spectateurs$(document).ready(function() {s.pageName = "MyCWeb - Fiche prog - Guide - Infos prog - Les feux de l'amour";s.prop4 = "MyCWeb - Fiche prog";s.prop5 = "MyCWeb - Fiche prog - Guide";s.prop6 = "MyCWeb - Fiche prog - Guide - Infos prog";s.prop7 = "MyCWeb - Fiche prog - Guide - Infos prog - Les feux de l'amour";s.eVar12 = "";s_code = s.t();});Vous êtes abonné ?Connectez-vous avec votre compte CANAL pour accéder aux contenus et services.Se connecter Pas encore abonné ?Découvrir nos offres Mes recommandations Trouvez sans chercher les programmes que vous aimez ! EURÊKA analyse chaque semaine les programmes que vous regardez pour vous en proposer de nouveaux qui vous plairont à coup sûr.Comment obtenir des recommandations ? Le Mag Digital</sub-title>
 
Needs a bit more work.
 
Willy
 
PS: will take a loo at it (but not today)

doglover
Offline
Joined: 11 years
Last seen: 3 years

Looks a lot better now.
(although the grab is slow - but this is nothing you can do about)
 
Willy

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

I take back this old post since canalsat (It's not working I guess because only for subscribers) and mycanal seems to be changed into http://guide.mycanal.fr/guide/grille/?chaines=312,26,543,301,545,313 , the ini is working but it's not generating channel creation.

It is also very strange how the exsisting mycanal is extremely slow, although the web access is quite fast, may be a review is required. Appreciate if someone can have a look.

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

Strange, all I get  is:

    <channel update="i" site="mycanal.fr" site_id="" xmltv_id="TF1">TF1</channel>

 

 

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

Thanks my friend yours are slightly different, also the grille/  mine was without

** @auto_xml_channel_start
*url_index{url()|http://www.mycanal.fr/guide/grille}
*index_site_channel.scrub {multi|<div id="guideFilter">|class="voir-chaine" title="|">|}
*index_site_id.scrub {multi|<div id="guideFilter">|chaine?epgid=|"|}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end

 

Glad it's working, I should have paid more attention to /   :)  Thanks again !!

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