• Vítejte na XBMC-Kodi.cz
  • Česko-slovenská komunita fanoušků XBMC/Kodi
Vítejte návštevníku! Přihlášení Registrace


Hodnocení tématu:
  • 13 Hlas(ů) - 2.38 Průměr
  • 1
  • 2
  • 3
  • 4
  • 5
WebGrab+Plus
@100karel Používám od včerejška stejnou úpravu, jen jsem ještě vyměnil http:// za https://, pro některé instalace to bude nezbytně nutné.
Kód:
url_index{url|https://m.tv.sms.cz/index.php?den=|urldate|&stanice=|channel|&cas=0}
 
Citovat
přitom https úplně k ničemu  8
 
Citovat
Chyba již vyřešena :-D
 
Citovat
@mafian: terminal.. >>
Kód:
sudo nano /usr/bin/tv_grab_wg++

na druhem radku zkontroluj ze cesta k souboru guide.xml je spravna popripade oprav.. musi byt uplna cesta k souboru vcetne nazvu a koncovky souboru guide.xml samotneho.. priklad meho..
 
Kód:
 
xmltv_file_location=/home/hts/webgrab/guide.xml
VPS TVH, Webgrab... Server > Odroid-N2 Coreelec (Tvheadend client)
 
Citovat
Jj díky, už jsem na to přišel. Jen to nemám v hts ale v pi. 
Ale stejně je to divoké. Playlist mám ve tvaru 
#EXTINF:-1 tvg-id="ČT1 HD" tvg-name="ČT1 HD" tvg-shift="" radio="" tvg-logo="" group-title="",ČT1 HD
vždycky, aby tvg-id souhlasilo s udaji v xmltv. 
V IPtv simple client u jednoho zařízení to ukazuje bez větších chyb. U druhého jsem zatím chybu nezachytil žádnou a v posledním zařízení souhlasí každý třetí cca. Přitom zdrojový playlist a xmltv jsou stejné. Nastavení zcela identické fakt nechápu. Ale přitom ikony, které to tahá z xmltv sedí všechny přesně všude. 
Teď jsem to chtěl přehodit do tvheadend a po chvíli trápení jsem tam dostal xmltv, které se mi sice zobrazuje v pohodě v serveru, ale v klientovi se mi jednou zobrazilo epg u pár programů, ale po restartu už se neukazuje vůbec. A ikony, které jsou v xmltv taky ne Sad
Tak teď babo raď.

 https://pastebin.com/f2FXuE0E

Tak epg v iptv simple client jsem vyřešil, v nastavení pvr jsem nastavil neukládat do mezipaměti a vypadá, že to zobrazuje korektně už vše, ale tvheadend pořád nic Sad
 
Citovat
nema nahodou niekto xmltv suborna rebit.tv cez iptv simple client? ..
A95X F3 Slim 4/64gb,CoreELEC 9.2.3
X88 Pro X3 2/32 , CE 9.2.3
 
Citovat
funguje někomu ze satelitnatv.sk grab programu Digisport 6-9 ? Byť mají sem-tam program,ale nenagrabuje při použití ini zde z fóra od uživatele @mirecek10:
 
Citovat
vie mi niekto poradit kde robim chybu
mam webgrab na vps s ubuntu dako si neviem rady.
Kód:
 
[        ]
[        ]            WebGrab+Plus/w MDB & REX Postprocess -- version  V3.1.0.0
[        ]
[        ]                                 Jan van Straaten
[        ]                              Francis De Paemeleere
[        ]
[        ]             thanks to Paul Weterings and all the contributing users
[        ] --------------------------------------------------------------------------------
[        ]
[        ] Job started at 20/11/2020 12:59:33
[  Debug ]
[  Debug ] Running  on: Unix 4.15.0.123
[  Debug ] Environment: 4.0.30319.42000
[  Debug ] Mono version: 6.12.0.90 (tarball Fri Sep  4 14:01:23 UTC 2020)
[  Debug ]
[  Debug ] Loading timezone data
[  Debug ] Embedded timezones source: timezone.timezonesdata.txt
[  Debug ] Reading config file: /home/download/.wg++/./WebGrab++.config.xml
[  Info  ] Checking License ..
[  Info  ] For License request/update data, see WGLicense.log.txt
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.user/sledovanietv.sk.ini -- Revision Unknown
[  Info  ] encrypted in 'new (V3)' mode
[Warning ] Unable to decrypt!!
[Error   ] fatal decryption error: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.user/telekom.sk.EK.ini -- Revision Unknown
[  Info  ] encrypted with userkey and expiry date in 'new (V3)' mode
[Warning ] Unable to decrypt!!
[Error   ] fatal decryption error: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Czech Republic/tv.sms.cz.m.ini -- Revision 05
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Slovakia/satelitnatv.E.sk.ini -- Revision 04
[  Info  ] encrypted in 'new (V3)' mode
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Czech Republic/o2tv.cz.E.ini -- Revision 03
[  Info  ] encrypted in 'new (V3)' mode
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Czech Republic/telekom.cz.EK.ini -- Revision 01
[  Info  ] encrypted with userkey and expiry date in 'new (V3)' mode
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Slovakia/port.sk.ini -- Revision 09
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Hungary/tvmustra.hu.ini -- Revision 01
[  Info  ] encrypted in 'legacy (V2)' mode
[Warning ] timezone=UTC+01:00 mapped with timezone_id "Europe/Paris"
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Hungary/musor.tv.ini -- Revision 11
[Warning ] SiteIni debug arguments disabled due to License settings
[  Info  ] See WGLicense.log.txt for license details
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Hungary/musor.tv.m.ini -- Revision 02
[  Debug ]
[  Info  ] found: /home/download/.wg++/./siteini.pack/Hungary/port.hu.ini -- Revision 17
[  Info  ] input file /home/download/.wg++/guide.xml not found   ... created a new one ...
[        ] Job finished at 20/11/2020 12:59:38 done in 4s
 
Citovat
Ahoj,

defaultny csfd.cz.ini subor pre instalaciu wg++ 2.1.0 mi nefungoval, tak som ho trochu upravil:
Kód:
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: csfd.cz
* @MinSWversion: V2.0.1.1
* @Revision 1 - [02/03/2017] Jan van Straaten
* no need for PHP anymore, uses preload in method POST
* @Revision 0 - [06/02/2017] Blackbear199
* - creation, php solution
* @header_end
**------------------------------------------------------------------------------------------------
site {url=csfd.cz|timezone=Europe/Prague|maxdays=18|cultureinfo=cs-CZ|charset=UTF-8|titlematchfactor=90}
site {ratingsystem=CZ|episodesystem=onscreen|nopageoverlaps}
*
*url_index{url(debug preload="http://www.csfd.cz/televize/?day=|urldate|&do=stationSelectForm-submit")|http://www.csfd.cz/televize/?day=|urldate|#move-to-station-0}
*
* url_index{url()|http://www.csfd.cz/televize/?day=|urldate|#move-to-station-0}
* url_preload {url()|http://www.csfd.cz/televize/?day=|urldate|&}
* url_preload.headers {method=POST|allowautoredirect=false}
* url_preload.headers {customheader=Accept-Encoding=gzip,deflate}
* url_preload.headers {postdata=station0=|channel|&_do=stationSelectForm-submit}
*
** experiment without preload, also works!!
url_index{url()|https://www.csfd.cz/televize/?day=|urldate|&_do=stationSelectForm-submit}
url_index.headers {method=POST|allowautoredirect=true}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
url_index.headers {postdata=station0='channel'&_do=stationSelectForm-submit}
**
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {daycounter|0}
*
index_showsplit.scrub {multi|<div id="box|||</li>}
*
index_urlshow {url|https://www.csfd.cz|<a href="||"|"}
index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}
*
index_urlchannellogo {url|https:|<div class="station-name">|<img src="|?h|</div>}
*
index_start.scrub {single|<p class="time">||</p>|</p>}
index_title.scrub {single(separator=" - " include=first)|<span class="name">||</span>|</span>}
index_subtitle.scrub {single(separator=" - " include=last)|<span class="name">||</span>|</span>}
index_episode.scrub {single(pattern="S'S1'E'E1'""S'S1'""E'E1'")|<span class="series">(||)</span>|)</span>}
*
index_title.modify {remove(type=regex)|<span.*$}
index_title.modify {cleanup(tags="<"">")}
index_subtitle.modify {remove(type=regex)|<span.*$}
index_subtitle.modify {cleanup(tags="<"">")}
index_subtitle.modify {clear(~ "Episode")}
index_subtitle.modify {clear('index_title')}
*
title.scrub {single(separator=" / "" - "" (" include=first)|<title>||</title>|</title>}
titleoriginal.scrub {single|<ul class="names">|<h3>|</h3>|</ul>}
description.scrub {single|<h3>Obsah|<div data-truncate="570">|</div>|</li>}
director.scrub {single(separator=", " max=2)|<h4>Režie:</h4>|<span data-truncate="60" itemprop="director">|</span>|</div>}
actor.scrub {single(separator=", " max=6)|<h4>Hrají:</h4>|<span data-truncate="340">|</span>|</div>}
producer.scrub {single(separator=", " max=2)|<h4>Producenti:</h4>|<span data-truncate="60">|</span>|</div>}
writer.scrub {single(separator=", " max=2)|<h4>Scénář:</h4>|<span data-truncate="60">|</span>|</div>}
composer.scrub {single(separator=", " max=2)|<h4>Hudba:</h4>|<span data-truncate="60">|</span>|</div>}
category.scrub {single(separator=" / ")|<p class="genre">||</p>|</p>}
country.scrub {single(separator=" / ")|<p class="origin">||, <span|, <span}
productiondate.scrub {single|<span itemprop="dateCreated">||</span>|}
starrating.scrub {single|<meta itemprop="ratingValue" content="||">|">}
showicon.scrub {single|<div id="poster" class="image">|<img src="|?h|</div>}
*
titleoriginal.modify {clear('title')}
description.modify {cleanup(tags="<span""</span>")}
description.modify {cleanup}
*
director.modify {cleanup(tags="<"">")}
actor.modify {cleanup(tags="<"">")}
producer.modify {cleanup(tags="<"">")}
writer.modify {cleanup(tags="<"">")}
composer.modify {cleanup(tags="<"">")}
*
starrating.modify {calculate(format=F1)|10 /}
starrating.modify {clear("0.0")}
showicon.modify {clear(~ "poster-free")}
showicon.modify {addstart(not "")|http:}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index {url|http://www.csfd.cz/televize/}
*index_site_id.scrub {multi(debug exclude="- odebrat stanici -")|<div class="station-name">|<option |/option>|</select>}
*scope.range{(channellist)|end}
*index_site_channel.modify {addstart|'index_site_id'}
*index_site_id.modify {substring(type=regex)|"value=\"([^\"]*)\""}
*index_site_channel.modify {substring(type=regex)|">([^<]*)<"}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end
 
Citovat
to @ sonics007 Ahoj máš aktívne zaplatené členské na WebGrab? Ak nie preto ti nedekóduje dané balíčky ako satelitnaTV a podobne.
 
Citovat
prosím, lze nechat ukládat soubor pomocí ftp na disk?
jak pak bude vypadat zápis cesty se jménem a heslem?

je tahle myšlenka blbost?
nebo je lepší nechat v každém boxu s CE(LE) běžet WebGrab ať si každý vytvoří vlastní .xml
Windows 10 - Kodi 20
H96 max X2 - Coreelec 9.2.5 Kodi 18.9
X96 max+ - Coreelec 9.2.5 Kodi 18.9 (NAND dualboot Slimbox/CE)
X96 max+ - Coreelec 20 Matrix (NAND dualboot Slimbox/CE Matrix)
 
Citovat
ftp://username:password@hostname_or_ip/folder/moje.xml

Ugoos X3 Pro + Synology DS218, D216play +Synology RT2600ac
SZ nečtu!!! Ptejte se ve fóru, pomůžete ostatním.
 
Citovat
Nevíte prosím jak udělat, aby u programů ke kterým nelze sehnat EPG, WG++ nějak nagraboval, že jsou ranní, dopolední, polední, odpolední, podvečerní, večerní, noční programy? Prostě, aby u nich nebyla díra. Např. pod site_id="NOEPG" prostě budou tyto info. Nebo jestli to někde není, aby si to WG++ z netu někde nagraboval?
 
Citovat
@100karel Já na to mám script který mi vytváří xmltv.xml pro řadu programů podle různých definic, ale bohužel se mi teď nějak rozbil a ještě jsme se nedostal k tomu to uvést do pořádku.

Nicméně WG++ má také možnost, jak si prázdné položky v EPG vyplnit. Hledej v adresáři siteini.pack/Misc/ vzory souborů dummy.ini a fixed.ini. Takže překopírovat do siteini.user nebo do kořene dat WG++, to je jedno, případně přejmenovat (ať v tom máš pořádek) a editovat tak, jak budeš potřebovat. Z obsahu těch souborů je to to snad zřejmé, jak to použít. Pokud ne, tak snad webu WG++ něco bude.
 
Citovat
Velmi děkuji za rady @JiRo a @ericek74
Už mě to funguje.
 
Citovat
Ide vam grabovat ?
Kód:
z http://www.tv.sms.cz.m
Film+ 
Canal+ Domo
Fast&Fun
?
Ak ano, ako to mate zapisane?
Dik.
 
Citovat
@xbmckodi Zkus:
Film%2B
Canal%2B+Domo
Fast%26Funbox+HD
 
Citovat
(29.4.2021, 18:16)JiRo Napsal(a): @xbmckodi Zkus:
Film%2B
Canal%2B+Domo
Fast%26Funbox+HD
@JiRo
takto som to mal zapisane, ale uz dlhodobo tam je
[Error   ] no shows in indexpage!
 
Citovat
@xbmckodi Teď jsem to vyzkoušel a všechny tři mi fungují.
Kód:
<channel update="i" site="tv.sms.cz.m" site_id="Film%2B" xmltv_id="Film+">Film+</channel>
<channel update="i" site="tv.sms.cz.m" site_id="Canal%2B+Domo" xmltv_id="Canal+ Domo">Canal+ Domo</channel>
<channel update="i" site="tv.sms.cz.m" site_id="Fast%26Funbox+HD" xmltv_id="FastFunbox HD">FastFunbox HD</channel>
Log:
Kód:
 
[        ] 
[        ]            WebGrab+Plus/w MDB & REX Postprocess -- version  V3.1.0.0            
[        ] 
[        ]                                 Jan van Straaten                                
[        ]                              Francis De Paemeleere                              
[        ] 
[        ]             thanks to Paul Weterings and all the contributing users             
[        ] --------------------------------------------------------------------------------
[        ] 
[        ] Job started at 30/04/2021 06:38:33
[  Debug ] 
[  Debug ] Running  on: Unix 5.1.16.0
[  Debug ] Environment: 4.0.30319.42000
[  Debug ] Mono version: 6.8.0.105 (explicit/82fffe0 Thu Apr 23 20:44:48 CEST 2020)
[  Debug ] 
[  Debug ] Loading timezone data
[  Debug ] Embedded timezones source: timezone.timezonesdata.txt
[  Debug ] Reading config file: /storage/.kodi/userdata/addon_data/service.webgrabplus/WebGrab++.config.xml
[  Info  ] Checking License ..
[  Info  ] For License request/update data, see WGLicense.log.txt
[  Debug ] 
[  Info  ] found: /storage/.kodi/userdata/addon_data/service.webgrabplus/siteini.pack/Czech Republic/tv.sms.cz.m.ini -- Revision 05
[  Debug ] xmltv input file - /storage/.kodi/userdata/addon_data/service.webgrabplus/guide.xml - found
[  Debug ] 191 superfluous shows removed
[  Info  ] Found existing channel (xmltv_id=Film+) in the config file
[  Info  ] Found existing channel (xmltv_id=Canal+ Domo) in the config file
[  Info  ] Found existing channel (xmltv_id=FastFunbox HD) in the config file
[  Info  ] 
[  Info  ] 
[  Info  ]       i=index  .=same  c=change  g=gab  r=replace  n=new
[  Info  ] 
[  Info  ] 
[  Info  ] Group (0) :
[  Info  ] update requested for - 3 - out of - 3 - channels for 1 day(s)
[  Debug ] 
[  Info  ] (   1/3   ) TV.SMS.CZ.M -- chan. (xmltv_id=Film+) -- mode Force
[  Info  ] 
[  Debug ] 
[  Info  ] (   2/3   ) TV.SMS.CZ.M -- chan. (xmltv_id=Canal+ Domo) -- mode Force
[  Info  ] 
[  Debug ] 
[  Info  ] (   3/3   ) TV.SMS.CZ.M -- chan. (xmltv_id=FastFunbox HD) -- mode Force
[  Info  ] 
[  Debug ] 
[  Debug ] 90 shows in 3 channels
[  Debug ] 0 updated shows
[  Debug ] 90 new shows added
[  Info  ] 
[  Info  ] 
[        ] Job finished at 30/04/2021 06:38:51 done in 18s
 
Citovat
@JiRo
stale rovnaky vysledok.
 
Kód:
 
[        ] 
[        ]              WebGrab+Plus/w MDB & REX Postprocess -- version  V2.1              
[        ] 
[        ]                                 Jan van Straaten                                
[        ]                              Francis De Paemeleere                              
[        ] 
[        ]             thanks to Paul Weterings and all the contributing users             
[        ] --------------------------------------------------------------------------------
[        ] 
[        ] Job started at 30/04/2021 12:14:54
[  Debug ] 
[  Debug ] Running  on: Microsoft Windows NT 6.2.9200.0
[  Debug ] Environment: 4.0.30319.42000
[  Debug ] 
[  Debug ] Loading timezone data
[  Debug ] Embedded timezones source: WGconsole.WG.Common.timezonesdata.txt
[  Debug ] 0 superfluous shows removed
[  Info  ] Found existing channel (xmltv_id=Film+) in the config file
[  Info  ] Found existing channel (xmltv_id=Canal+ Domo) in the config file
[  Info  ] Found existing channel (xmltv_id=FastFunbox HD) in the config file
[  Info  ] 
[  Info  ] 
[  Info  ]       i=index  .=same  c=change  g=gab  r=replace  n=new
[  Info  ] 
[  Info  ] 
[  Info  ] Group (0) :
[  Info  ] update requested for - 3 - out of - 3 - channels for 3 day(s)
[  Debug ] 
[  Info  ] (   1/3   ) TV.SMS.CZ.M -- chan. (xmltv_id=Film+) -- mode Force
[Error   ] no shows in indexpage!
[  Info  ] 
[  Debug ] 
[  Info  ] (   2/3   ) TV.SMS.CZ.M -- chan. (xmltv_id=Canal+ Domo) -- mode Force
[Error   ] no shows in indexpage!
[  Info  ] 
[  Debug ] 
[  Info  ] (   3/3   ) TV.SMS.CZ.M -- chan. (xmltv_id=FastFunbox HD) -- mode Force
[Error   ] no shows in indexpage!
[  Info  ] 
[  Debug ] 
[  Debug ] 0 shows in 3 channels
[  Debug ] 0 updated shows
[  Debug ] 0 new shows added
[  Info  ] 
[  Info  ] 
[        ] Job finished at 30/04/2021 12:14:58 done in 3s
[  Debug ] statistics upload error: The remote server returned an error: (404) Not Found.
 
Citovat
  


Přejít na fórum:


Prochází: 1 host(ů)