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
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
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!
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://746506.skal.fun/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://746506.skal.fun/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://746506.skal.fun/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://746506.skal.fun/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://746506.skal.fun/assets/images/movistar-plus/calf-18.svg" alt="No recomendado para menores de dieciocho años">
</div>
Thanks and keep in touch!
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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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://746506.skal.fun/%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?
Sorry, Do I have to add also the above lines in the .ini file?
Regards
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:
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.
done
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:
But all the programms have this info:
However, with other site.ini like "elmundo.es.ini" (Revision 12) wich has the same timezone as "plus.es.ini"...
I can see that the programs are correctly collected:
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.
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
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:
And I don´t know what to do...
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.
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.
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 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.
OK Thank you for your comments Blackbear199 and mat8861
Keep in touch