You are here

plus.es Ini update?

13 posts / 0 new
Last post
swanemar
Offline
Joined: 6 years
Last seen: 6 years
plus.es Ini update?

I just started using WebGrab++ and it works like a charm. One problem i found though is that plus.es seems to be having difficulties when grabbing from the website.

I've seen a thread about it from last year but i get url index error (and time limit errors) and it then seems like an update should fix this?

Thanks in advance

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

which site.ini  revision and  which channel are you trying to use ? I tested  the site ini  Revision 10 - [27/05/2017] Netuddki with channel " Calle 13 " and works, besides a small error on episode due to new webgrab.exe (version 2.1.2).

Just to be sure you run a valid channel i attched the latest channel list

swanemar
Offline
Joined: 6 years
Last seen: 6 years

Hi Mat!

 

thank you for your quick reply. I thought that I had downloaded the latest version but somehow I had not.

i tried your files and as you said they worked as intended, I'm sorry for wasting time, thank you so much for your help!

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

Hi,

I would like request if it´s possible to scrap the age information of the programs in the plus.es ini file in order to be showed in the tvheadend system.

These are some examples found on their programs:

All public:
<div class="heading">
                                            <h3>Calificación</h3>
                                            <h2 class="mini">El debate de La 1</h2>
                                        </div>
                                        <img src="http://webgrabplus.com/assets/images/movistar-plus/calf-tp.svg" alt="Apto para todos los públicos">
                                    </div>

7
<div class="heading">
                                            <h3>Calificación</h3>
                                            <h2 class="mini">El chiringuito de jugones</h2>
                                        </div>
                                        <img src="http://webgrabplus.com/assets/images/movistar-plus/calf-7.svg" alt="No recomendado para menores de siete años">
                                    </div>
                                    
12
<div class="heading">
                                            <h3>Calificación</h3>
                                            <h2 class="mini">Peligro inminente</h2>
                                        </div>
                                        <img src="http://webgrabplus.com/assets/images/movistar-plus/calf-12.svg" alt="No recomendado para menores de doce años">
                                    </div>

16
<div class="heading">
                                            <h3>Calificación</h3>
                                            <h2 class="mini">Peligro inminente</h2>
                                        </div>
                                        <img src="http://webgrabplus.com/assets/images/movistar-plus/calf-16.svg" alt="No recomendado para menores de dieciséis años">
                                    </div>

18
<div class="heading">
                                            <h3>Calificación</h3>
                                            <h2 class="mini">Peligro inminente</h2>
                                        </div>
                                        <img src="http://webgrabplus.com/assets/images/movistar-plus/calf-18.svg" alt="No recomendado para menores de dieciocho años">
                                    </div>

Thanks and keep in touch!

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

Thank you very much Blackbear199

Another question... what should I have in the plus.ini file to scrub the star-rating value?

Here are some examples of how it´s implemented:

No info regarding calification:
  <div class="ee-stars">
                        <h2 itemprop="name" class="h-elem"> Episodio 3: Promesa de salvación</h2>
                        <h3 class="heading light">Valoración de usuarios</h3>
                        <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" class="rating-content j-stars">
    <div class="stars">
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=5&elemento=1451959">http://www.movistarplus.es/valoracion?p=5&elemento=1451959" title="Muy bien" class="vote-5 " rel="nofollow"><span>5</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=4&elemento=1451959">http://www.movistarplus.es/valoracion?p=4&elemento=1451959" title="Bien" class="vote-4 " rel="nofollow"><span>4</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=3&elemento=1451959">http://www.movistarplus.es/valoracion?p=3&elemento=1451959" title="Regular" class="vote-3 " rel="nofollow"><span>3</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=2&elemento=1451959">http://www.movistarplus.es/valoracion?p=2&elemento=1451959" title="Mal" class="vote-2 " rel="nofollow"><span>2</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=1&elemento=1451959">http://www.movistarplus.es/valoracion?p=1&elemento=1451959" title="Muy mal" class="vote-1 " rel="nofollow"><span>1</span></a>
    </div>
    <div class="rating-value">
        <span itemprop="ratingValue" class="rating">0</span>
        <span itemprop="ratingCount" class="ratingC">0</span>
        <span>votos</span>
    </div>
    <meta itemprop="worstRating" content="0">
    <meta itemprop="bestRating" content="5">
</div>
                    </div>
                    
Here an example with rating 3:
                                        <div class="ee-stars">
                        <h2 itemprop="name" class="h-elem"> Episodio 121: Una yaya por sorpresa, una vasectomía y la gran orquesta de Montepinar</h2>
                        <h3 class="heading light">Valoración de usuarios</h3>
                        <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" class="rating-content j-stars">
    <div class="stars">
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=5&elemento=1335212">http://www.movistarplus.es/valoracion?p=5&elemento=1335212" title="Muy bien" class="vote-5 " rel="nofollow"><span>5</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=4&elemento=1335212">http://www.movistarplus.es/valoracion?p=4&elemento=1335212" title="Bien" class="vote-4 " rel="nofollow"><span>4</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=3&elemento=1335212">http://www.movistarplus.es/valoracion?p=3&elemento=1335212" title="Regular" class="vote-3  fill " rel="nofollow"><span>3</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=2&elemento=1335212">http://www.movistarplus.es/valoracion?p=2&elemento=1335212" title="Mal" class="vote-2  fill " rel="nofollow"><span>2</span></a>
        <a href="http://webgrabplus.com/%3Ca%20href%3D"http://www.movistarplus.es/valoracion?p=1&elemento=1335212">http://www.movistarplus.es/valoracion?p=1&elemento=1335212" title="Muy mal" class="vote-1  fill " rel="nofollow"><span>1</span></a>
    </div>
    <div class="rating-value">
        <span itemprop="ratingValue" class="rating">3</span>
        <span itemprop="ratingCount" class="ratingC">75</span>
        <span>votos</span>
    </div>
    <meta itemprop="worstRating" content="0">
    <meta itemprop="bestRating" content="5">
</div>

Asking about how to get the stars showed in the tvheadend seems to be an issue of how must be written in the xml file the information.
Please refer to the thread written in the tvheadend forum about that.
https://tvheadend.org/boards/12/topics/23688
Summarizing it seems like the information must be written in this way to be showed in tvheadend:
<star-rating>
<value>6.1/10</value>
</star-rating>

Is this possible?

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

<star-rating system="ES">

      <value>6.0/10</value>
    </star-rating>

Sorry, Do I have to add also the above lines in the .ini file?

Regards

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

Hi Blackbear199,

Just to say that I´ve tried by myself the .ini file with your comments and it works perfectly. Thank you very much!

Only remains to clarify that the comment that I quoted you, this one:

Blackbear199 wrote:

<star-rating system="ES">

      <value>6.0/10</value>
    </star-rating>

Was not needed to be added in the .ini file.

I´ve included the file with all the changes in this post. Could you please upload it in GitHub or in the EPG Channels section to be available for everyone?

Again thanks a lot for your help.

Best regards.

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

done

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

Hi again,

Could you please help me to understand why plus.es.ini es grabbing the info of the programms with 1 hour of delay?

I´ve noted from some days ago that the info is not correct but "plus.es.ini" (Revision 11) file seems to be correct:

site {url=plus.es|timezone=Europe/Madrid|maxdays=7|cultureinfo=es-ES|charset=UTF-8|titlematchfactor=70|ratingsystem=ES}

 But all the programms have this info:

<programme start="20171025060000 +0100" stop="20171025063000 +0100" channel="La 1 HD">

However, with other site.ini like "elmundo.es.ini" (Revision 12) wich has the same timezone as "plus.es.ini"...

site {url=elmundo.es|timezone=Europe/Madrid|maxdays=4.1|cultureinfo=es-ES|charset=ISO-8859-15|titlematchfactor=90}

I can see that the programs are correctly collected:

<programme start="20171025060000 +0200" stop="20171025090000 +0200" channel="8madrid">

 Any idea of why I´m having this issue?

If you need any file or log... just tell me and I´ll provide it.

Thank you and best regards.

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

just tried it and its showing +0200 for me.

check your log file and make sure its using the correct ini.

Yes, it seems like the .ini file is the correct one, I attach you the plus.ini file and in this link below the first lines of the log:
https://pastebin.com/raw/99aqsuZa

Blackbear199 wrote:

also your webgrab version can have a effect on this as the timezone table(contains the dates for DST for every timezone) is updated with with webgrab versions a few times/yr.

if you check the changelog.txt those entries look like this..

- update    : new tzdatabase based on tzdata2017b

this shouldnt be your issue as elmundo is adjusting th timezone correctly.

Agree with you, however I´ve downloaded the latest version of WebGrabPlus v2.1 (19/06/2017) and I´m still viewing these lines in the log:

[Warning ] Incompatible version of /share/CACHEDEV1_DATA/.qpkg/WebGrabPlus/movistar/plus.es.ini
[Warning ] SW  V2.1 should be >= SiteIni V2.1.2: 
[Warning ] Upgrade your WebGrab+Plus version to V2.1.2 or higher!! @http://www.webgrabplus.com/download

And I don´t know what to do...

Blackbear199 wrote:

i suspect you have 2 copies of the ini in diff locations and webgrab uses the first it finds so check the log for the ini location and check it to make sure the timezone= is set correctly.

Yes I had a another version of the plus.ini file but named in a different way together with the old app of WG+:
plus.es.ini_ver09.old
WebGrab+Plus.exe.old

The PATH of the files is this:
/share/CACHEDEV1_DATA/.qpkg/WebGrabPlus/movistar

The script that I´m using is this one:
#!/bin/bash
cd /share/CACHEDEV1_DATA/.qpkg/WebGrabPlus/movistar/
/share/CACHEDEV1_DATA/.qpkg/Qmono/bin/mono WebGrab+Plus.exe  "$(pwd)"

 

Keep waiting your comments...

Thank you and best regards.

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

Ok Blackbear,

After change the time because of the finish of the summer time in Madrid past sunday... everything went back to normal and all the .inis are getting the information with the +0100... I attach you WebGrab++.log.txt log file complete.

I´m still trying to understand why the previous week I´ve got the programms with the +0100 offset. This is also the output of the command date and time in the system where WebGrab runs:

[~] # date
Tue Oct 31 20:14:31 CET 2017
[~] # time

real    0m0.000s
user    0m0.000s
sys     0m0.000s

By the way... could you tell me some thing about these lines in the log?

[Warning ] Incompatible version of /share/CACHEDEV1_DATA/.qpkg/WebGrabPlus/movistar/plus.es.ini
[Warning ] SW  V2.1 should be >= SiteIni V2.1.2:
[Warning ] Upgrade your WebGrab+Plus version to V2.1.2 or higher!! @http://www.webgrabplus.com/download

and this one...

[  Debug ] statistics upload error: The remote server returned an error: (500) Internal Server Error.

Thank you and best regards.

 

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

As Blackbear said those warning are asking you to upgrade the software, most of the time is because when a ini is created or upgraded/revisioned the error caused by old version will disappear using the new release. Basically upgrade  smiley to go smooth and without problems. In this case Blackbear might have re-analyzed the site ini and he knows that 2.1 will work the same, on the other side I suggest upgrade, also for other ini's compatibility. Usually we all go forward and not back.

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

OK Thank you for your comments Blackbear199 and mat8861

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