You are here

armenian epg

18 posts / 0 new
Last post
ediri
Offline
Joined: 8 years
Last seen: 5 years
armenian epg

hello can samone please create armenian epg?

there is the web site that i found tv guide...

https://www.ucom.am/en/personal/home-services/u-tv/epg?all

looks like it's must be simple to create....

ediri
Offline
Joined: 8 years
Last seen: 5 years

ohh that will be great

can you post also the php sctipt?

thaks alot

hvspa111
Offline
Joined: 8 years
Last seen: 4 years
Blackbear199 wrote:

here ya go.

so all you have to do is open the ini file and on the url_index line change the address to the ip of your server and put the php script on your server.

the channels.xml section uses GET(ordinary web page) so nothing additional is needed to create it.

i have my server setup on the same pc as i run webgrab on so i use 127.0.0.1

 

 

Hello Blackbear199,

thank you for your great job done. I am very new on this website and still cannot find the way to move forward with EPG retrieval.

i've tried to follow all the steps, but still unable:

 

[host:/usr/src/wg - 02:28 AM] $cp -p ucom.am.php /var/www/
[host:/usr/src/wg - 02:35 AM] $ls -lrth
total 680K
-rw-r--r--  1 root root  22K Aug 23  2012 WebGrab++.config.xml
-rw-r--r--  1 root root 598K Aug  3 16:32 WebGrab+Plus.exe
drwxr-xr-x 10 root root  12K Dec 14 02:11 WebGrab+PlusV1.1.1LINUX
drwxr-xr-x  2 root root 4.0K Dec 14 02:15 mdb
drwxr-xr-x  2 root root 4.0K Dec 14 02:15 rex
-rw-r--r--  1 root root 1.5K Dec 14 02:18 ucom.am.ini
-rw-r--r--  1 root root 1.4K Dec 14 02:18 ucom.am.php
-rw-r--r--  1 root root  18K Dec 14 02:19 ucom.am.xml
-rw-r--r--  1 root root 1.5K Dec 14 02:22 WebGrab++.log.txt
drwxr-xr-x  2 root root 4.0K Dec 14 02:32 ucom.am
[host:/usr/src/wg - 02:45 AM] $ls -lrth ucom.am
total 36K
-rw-r--r-- 1 root root 1.5K Dec 14 02:18 ucom.am.ini
-rw-r--r-- 1 root root 1.4K Dec 14 02:18 ucom.am.php
-rw-r--r-- 1 root root  18K Dec 14 02:19 ucom.am.channels.xml
-rw-r--r-- 1 root root  953 Dec 14 02:26 WebGrab++.config.xml
-rw-r--r-- 1 root root 1.6K Dec 14 02:32 WebGrab++.log.txt
[host:/usr/src/wg - 02:45 AM] $

[host:/usr/src/wg - 02:31 AM] $mono WebGrab+Plus.exe ucom.am

             WebGrab+Plus/w MDB & REX Postprocess -- version  V1.57             

                                Jan van Straaten                                
                             Francis De Paemeleere                              

            thanks to Paul Weterings and all the contributing users             
--------------------------------------------------------------------------------

Job started at 14/12/2016 02:32:07
Job finished at 14/12/2016 02:32:07 done in 0s
Unhandled Exception

Invalid URI: The URI scheme is not valid.

  at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000] in <filename unknown>:0
  at System.Uri.ParseUri (UriKind kind) [0x00000] in <filename unknown>:0
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000] in <filename unknown>:0
  at System.Uri..ctor (System.String uriString) [0x00000] in <filename unknown>:0
  at WGconsole.Config..ctor (System.String ConfigurationFilePath) [0x00000] in <filename unknown>:0
For detailed info, see log file ucom.am/WebGrab++.log.txt
Execution stopped

 

Can i ask you to provide more details on how to move forward?

Thank you in advance

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

thank you for your fast reply. I've attached my /usr/src/wg/WebGrab++.config.xml file for your reference. However the application is still not grabbing the EPG from the mentioned webpage. I saw in previous messages you mentioned that it was grabbing the EPG on your server. Can i ask you to check if now it is working on your side?

thanks in advance,

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

here we go:

PHP Version 5.3.10-1ubuntu3.25

 

System
Linux Mera 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686

Build Date
Oct 3 2016 16:35:24

Server API
Apache 2.0 Handler

Virtual Directory Support
disabled

Configuration File (php.ini) Path
/etc/php5/apache2

Loaded Configuration File
/etc/php5/apache2/php.ini

Scan this dir for additional .ini files
/etc/php5/apache2/conf.d

Additional .ini files parsed
/etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/geoip.ini, /etc/php5/apache2/conf.d/gmp.ini, /etc/php5/apache2/conf.d/imagick.ini, /etc/php5/apache2/conf.d/intl.ini, /etc/php5/apache2/conf.d/ldap.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/memcache.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/odbc.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini, /etc/php5/apache2/conf.d/pdo_odbc.ini, /etc/php5/apache2/conf.d/pdo_pgsql.ini, /etc/php5/apache2/conf.d/pdo_sqlite.ini, /etc/php5/apache2/conf.d/pgsql.ini, /etc/php5/apache2/conf.d/pspell.ini, /etc/php5/apache2/conf.d/recode.ini, /etc/php5/apache2/conf.d/snmp.ini, /etc/php5/apache2/conf.d/sqlite3.ini, /etc/php5/apache2/conf.d/tidy.ini, /etc/php5/apache2/conf.d/xmlrpc.ini, /etc/php5/apache2/conf.d/xsl.ini

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

sorry, i somehow missed to paste it, but it is installed:

curl

cURL support
enabled

cURL Information
7.22.0

Age
3

Features

AsynchDNS
No

Debug
No

GSS-Negotiate
Yes

IDN
Yes

IPv6
Yes

Largefile
Yes

NTLM
Yes

SPNEGO
No

SSL
Yes

SSPI
No

krb4
No

libz
Yes

CharConv
No

Protocols
dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtmp, rtsp, smtp, smtps, telnet, tftp

Host
i686-pc-linux-gnu

SSL Version
OpenSSL/1.0.1

ZLib Version
1.2.3.4

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

what i did is :

 

apt-get install php5-curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php5-curl is already the newest version.
The following package was automatically installed and is no longer required:
  libqtwebkit4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove

 

am i missing something? :( sorry

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

the thing is that i am sure i've all curl-s in the box:

dpkg --get-selections|grep curl
curl                                            install
libcurl3                                        install
libcurl3-gnutls                                 install
php5-curl                                       install
python-pycurl                                   install

my only concerns is that i am missing some configuration or i am missing the part how the start grabbing and so on :(

when you had a look at the log file, nothing was shown?

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

no any antivirus, the webgrab is on the same server, you are right the link you provided is returning EPG:

{"status":"OK","data":{"2016_12_14":{"programs":{"305":[{"start_time":"00:35","title":"\u053f\u0561\u0580\u0563\u056b\u0576 \u0576\u0578\u057d\u057f\u0561\u056c\u057b\u056b","channel_id":"305"},{"start_time":"01:20","title":"\u0540\/\u054d \"\u0531\u057c\u0561\u057b\u0576\u0578\u0580\u0564\u0576\u0565\u0580\u0568 \u057d239\"\t\t","channel_id":"305"},{"start_time":"02:00","title":"\u0540\/\u054d \"\u0534\u056a\u057e\u0561\u0580 \u0561\u057a\u0580\u0578\u0582\u057d\u057f \u057d323\"\u00a0\t\t","channel_id":"305"},{"start_time":"02:40","title":"\u0540\/\u054d \"\u0534\u056a\u057e\u0561\u0580 \u0561\u057a\u0580\u0578\u0582\u057d\u057f \u057d323\"\u00a0\t\t","channel_id":"305"},{"start_time":"03:20","title":"\u0534\u056b\u057d\u056f\u0578\u057f\u0565\u056f \u0576\u0578\u0576 \u057d\u057f\u0578\u057a","channel_id":"305"},{"start_time":"04:29","title":"\u053a\u0561\u0574\u0568 \u056c\u0580\u0561\u057f\u057e\u0561\u056f\u0561\u0576","channel_id":"305"},{"start_time":"05:25","title":"\u0540\/\u0546 \"\u0531\u0566\u056b\u0566\u0575\u0561\u0576\u0576\u0565\u0580\u0568 \u057d13\"\u00a0\t\t","channel_id":"305"},{"start_time":"05:55","title":"\u0540\/\u0546 \"\u0534\u0578\u0574\u056b\u0576\u0578 3 \u0565\u0569\u0565\u0580\u0561\u0577\u0580\u057b\u0561\u0576 \u057d19\"","channel_id":"305"},{"start_time":"06:25","title":"\u053f\u0561\u0580\u0563\u056b\u0576 \u0576\u0578\u057d\u057f\u0561\u056c\u057b\u056b","channel_id":"305"},{"start_time":"07:00","title":"\u0544\/\u054d \"\u0531\u0576\u0570\u0561\u0576\u0563\u056b\u057d\u057f \u0536\u0578\u0582\u0576,\u0537\u056c\u057e\u056b\u0576\u0568 \u0587 \u0562\u0578\u0582\u0580\u0578\u0582\u0576\u0564\u0578\u0582\u056f\u0576\u0565\u0580\u0568,\u0544\u056b-\u0574\u056b \u0561\u0580\u057b\u0578\u0582\u056f\u0576\u0565\u0580\u0568\"\t\t","channel_id":"305"},{"start_time":"07:45","title":"\u053f\u0561\u0580\u0563\u056b\u0576 \u057d\u0565\u0580\u056b\u0561\u056c 3 \u0565\u0569\u0565\u0580\u0561\u0577\u0580\u057b\u0561\u0576 \u057d2,\u057d3","channel_id":"305"},{"start_time":"08:35","title":"\u0540\/\u054d \"\u0531\u057c\u0561\u057b\u0576\u0578\u0580\u0564\u0576\u0565\u0580\u0568 \u057d239\"\t\t","channel_id":"305"},{"start_time":"09:15","title":"\u0540\/\u054d \"\u0534\u056a\u057e\u0561\u0580 \u0561\u057a\u0580\u0578\u0582\u057d\u057f \u057d323\"\u00a0\t\t","channel_id":"305"},{"start_time":"09:59","title":"\u053a\u0561\u0574\u0568 \u056c\u0580\u0561\u057f\u057e\u0561\u056f\u0561\u0576","channel_id":"305"},{"start_time":"10:15","title":"\u0532\u0561\u0580\u056b \u056c\u0578\u0582\u0575\u057d","channel_id":"305"},{"start_time":"11:59","title":"\u053a\u0561\u0574\u0568 \u056c\u0580\u0561\u057f\u057e\u0561\u056f\u0561\u0576","channel_id":"305"},{"start_time":"12:15","title":"\u053f\u0561\u0580\u0563\u056b\u0576 \u057d\u0565\u0580\u056b\u0561\u056c 3 \u0565\u0569\u0565\u0580\u0561\u0577\u0580\u057b\u0561\u0576 \u057d4,\u057d5","channel_id":"305"},{"start_time":"13:10","title":"\u0533\/\u0556 \"\u0534\u056b\u0563\u0576\u056b\u0564\u0561\u0564 \u0563\u0561\u0572\u0578\u0582\u0569\u0568\"-\"\u041a\u043e\u043b\u043e\u043d\u0438\u044f \u0414\u0438\u0433\u043d\u0438\u0434\u0430\u0434\"","channel_id":"305"},{"start_time":"15:00","title":"\u0544\/\u054d \"\u0531\u0576\u0570\u0561\u0576\u0563\u056b\u057d\u057f \u0536\u0578\u0582\u0576,\u0537\u056c\u057e\u056b\u0576\u0568 \u0587 \u0562\u0578\u0582\u0580\u0578\u0582\u0576\u0564\u0578\u0582\u056f\u0576\u0565\u0580\u0568,\u0544\u056b-\u0574\u056b \u0561\u0580\u057b\u0578\u0582\u056f\u0576\u0565\u0580\u0568\"\t\t","channel_id":"305"},{"start_time":"15:59","title":"\u053a\u0561\u0574\u0568 \u056c\u0580\u0561\u057f\u057e\u0561\u056f\u0561\u0576","channel_id":"305"},{"start_time":"16:25","title":"\u0540\/\u054d \"\u0534\u056a\u057e\u0561\u0580 \u0561\u057a\u0580\u0578\u0582\u057d\u057f \u057d324\"\u00a0\t\t","channel_id":"305"},{"start_time":"17:05","title":"\u053f\u0561\u0580\u0563\u056b\u0576 \u0576\u0578\u057d\u057f\u0561\u056c\u057b\u056b","channel_id":"305"},{"start_time":"17:45","title":"\u054d\u0565\u0583\u0561\u056f\u0561\u0576 \u0583\u0578\u0580\u0571\u0578\u057e","channel_id":"305"},{"start_time":"18:15","title":"\u0540\/\u054d \"\u0531\u057c\u0561\u057b\u0576\u0578\u0580\u0564\u0576\u0565\u0580\u0568 \u057d239\"\t\t","channel_id":"305"},{"start_time":"18:55","title":"\u0540\/\u0546 \"\u0556\u0578\u0582\u056c \u0540\u0561\u0578\u0582\u057d 5 \u0565\u0569\u0565\u0580\u0561\u0577\u0580\u057b\u0561\u0576 \u057d20\"","channel_id":"305"},{"start_time":"19:30","title":"\u0540\/\u0546 \"\u0549\u0565\u0575\u0576\u057b \u057d13\" \u00a0\t\t","channel_id":"305"},{"start_time":"19:59","title":"\u053a\u0561\u0574\u0568 \u0563\u056c\u056d\u0561\u057e\u0578\u0580 \u0569\u0578\u0572\u0561\u0580\u056f\u0578\u0582\u0574","channel_id":"305"},{"start_time":"21:00","title":"\u0540\/\u0546 \"\u0531\u0566\u056b\u0566\u0575\u0561\u0576\u0576\u0565\u0580\u0568 \u057d14\"\u00a0\t\t","channel_id":"305"},{"start_time":"21:30","title":"\u0540\/\u0546 \"\u0534\u0578\u0574\u056b\u0576\u0578 3 \u0565\u0569\u0565\u0580\u0561\u0577\u0580\u057b\u0561\u0576 \u057d20\"","channel_id":"305"},{"start_time":"22:00","title":"\u0540\/\u054d \"\u0531\u057c\u0561\u057b\u0576\u0578\u0580\u0564\u0576\u0565\u0580\u0568 \u057d240\"\t\t","channel_id":"305"},{"start_time":"22:40","title":"\u0533\/\u0556 \"\u0546\u0565\u0580\u056b\u0580 \u057d\u056b\u0580\u0578 \u0570\u0561\u0574\u0561\u0580\"-\"\u041f\u0440\u043e\u0441\u0442\u0438 \u0437\u0430 \u043b\u044e\u0431\u043e\u0432\u044c\"","channel_id":"305"}]},"view_date":"Wednesday"}}}

however, when running mono WebGrab+Plus.exe "$(pwd)"

i receive errors:

no index page data received from Brazzers
unable to update channel, try again later
Existing guide data restored!
(   1/181 ) UCOM.AM -- chan. (xmltv_id=Full HD) -- mode Force
i
Unable to update channel Full HD
Generic syntax exception:
   message:
no index page data received from Full HD
unable to update channel, try again later
Existing guide data restored!
(   1/181 ) UCOM.AM -- chan. (xmltv_id=HD Pack Lite) -- mode Force
i
Unable to update channel HD Pack Lite
Generic syntax exception:
   message:
no index page data received from HD Pack Lite
unable to update channel, try again later
Existing guide data restored!
(   1/181 ) UCOM.AM -- chan. (xmltv_id=HD Pack Full) -- mode Force
i
Unable to update channel HD Pack Full
Generic syntax exception:
   message:
no index page data received from HD Pack Full
unable to update channel, try again later
Existing guide data restored!

Job finished at 14/12/2016 06:01:28 done in 1s

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

unfortunately no success:

 

<settings>

  <!-- for detailed info about the settings see http://webgrabplus.com/node/30 -->

  <filename>/usr/src/wg/guide.xml</filename>
  <mode></mode>
  <postprocess grab="y" run="n">mdb</postprocess>
        <user-agent>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0</user-agent>
  <logging>on</logging>
  <retry time-out="5">4</retry>
  <timespan>0</timespan>
  <update>f</update>

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

well, i did not change in the ini file, but i changed the name of php file.  i replaced the "_" by a "." so ucom_am.php became ucom.am.php ((( wtf :(

 

well, thanks a lot for your kind support :)

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

good morning :)

yes, thank you very much. it is working. i wanted to ask if it is possible to grab EPG from that site for the whole existing period? and not for one day?

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

thanks again for your quick answer. i've changed the timespan to 6 and it seems now it is grabbing until Sunday. thank you so much

davidashu
Offline
Joined: 6 years
Last seen: 6 years

Hello, please help to find all Armenian channels EPGs, we can't find it from this site https://www.ucom.am/en/personal/home-services/u-tv/epg?all its stop working.

hvspa111
Offline
Joined: 8 years
Last seen: 4 years
davidashu wrote:

Hello, please help to find all Armenian channels EPGs, we can't find it from this site https://www.ucom.am/en/personal/home-services/u-tv/epg?all its stop working.

me neither, i couldnot find armenian epg on any web site. if you have a website where epg is present, give me the URL, i'll try to parse it.

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

May be you can find some channels here http://epg.it999.ru/edem.xml.gz not much but better then nothing(is also free).

hvspa111
Offline
Joined: 8 years
Last seen: 4 years
mat8861 wrote:

May be you can find some channels here http://epg.it999.ru/edem.xml.gz not much but better then nothing(is also free).

thanks for the link. is it always available? or being interrupted some times like teleguide info? and asking for money?

hvspa111
Offline
Joined: 8 years
Last seen: 4 years

do you know where i can grab armenia tv epg?

thanks and happy new year

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