You are here

ipko.com down

21 posts / 0 new
Last post
becks14
Offline
Joined: 9 years
Last seen: 5 years
ipko.com down

The siteini of ipko.com (Albania) is down (http://webgrabplus.com/epg-channels#s0)

It seems that the url is changed, they force https now instead of http. The new url is: https://ipko.com/epg/admin/programs.php?date=|urldate

When I manually query the URL I get back some data, but nevertheless the siteini doesn't work.

Maybe they have also changed the structure of the returned JSON file.

Any help is appreciated.

 

Thnx.

becks14
Offline
Joined: 9 years
Last seen: 5 years

Thank you Balckbear199 for your patch.

I have observed that most channels have no EPG data at all. The site was down for some days, and then it became active again. I think they are updating it, as a result the siteini was not working. I am optimistic that in due time all channels will have EPG data.

 

Nexus_beacon
Offline
Joined: 8 years
Last seen: 3 years

Any update on this siteini? I still cannot get anything here? No events?

Nexus_beacon
Offline
Joined: 8 years
Last seen: 3 years

Yes, true, they still don't have events in grid. :(

 

sorry

Yuyu
Offline
Joined: 8 years
Last seen: 8 years

is there any other site for albanian tv channels? Cause ipko epg is down for good i think.

Nexus_beacon
Offline
Joined: 8 years
Last seen: 3 years

Found many of them on http://tv.etcc.bg/ 

Maybe somebody will do .ini file for grabbing? :)

Yuyu
Offline
Joined: 8 years
Last seen: 8 years
Nexus_beacon wrote:

Found many of them on http://tv.etcc.bg/ 

Maybe somebody will do .ini file for grabbing? :)

 

yes this be used until ipko corrects its epg, somebody will make ini file I guess

http://tv.etcc.bg/

Nexus_beacon
Offline
Joined: 8 years
Last seen: 3 years

Anyone found epg for TV SH (RTSH), state owned Albanian tv and Channel One from DigitAlb platform?

Yuyu
Offline
Joined: 8 years
Last seen: 8 years

You can find some here,but everything I need already found in that tvbc Bulgarian site
....check here
http://www.tring.tv/guida

Nexus_beacon
Offline
Joined: 8 years
Last seen: 3 years

thank you for quick ini file. I also don't understand Albanian language, I'm doing this for a friend.

 

;)

becks14
Offline
Joined: 9 years
Last seen: 5 years

It seems that ipko.com/epg is back again on the same url: https://www.ipko.com/epg/

I am using WebGrab+ with mono on ubuntu and for ipko.com channels I get the following error:
(Write: The authentication or decryption has failed.): SendFailure

I googled a bit and it results indicate that it is a certificate issue. I tried to install new certificates using mozroots --import but still no success. I also tried to import ipko's certificate using certmgr -ssl https://www.ipko.com but still I am experiencing the same issue.

Any ide(s) on how to solve this issue?

 

becks14
Offline
Joined: 9 years
Last seen: 5 years

In my case, I kind of managed to solve this by circumventing the HTTPS traffic. In fact I created a PHP script that acts as a proxy. I pointed WebGrap to fetch the new data from the custom PHP script using HTTP while the PHP script fetches the HTML from the IPKO site using HTTPS.

becks14
Offline
Joined: 9 years
Last seen: 5 years

This is the PHP script code, in my case I have named the file as ipko_epg.php:

<?php
        // create curl resource
        $ch = curl_init();
        $agent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)';

        // set url
        curl_setopt($ch, CURLOPT_URL, "https://www.ipko.com/epg/admin/programs.php?date=" . $_GET["date"]);

        //return the transfer as a string
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_USERAGENT, $agent);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

        // $output contains the output string
        $output = curl_exec($ch);

        // close curl resource to free up system resources
        curl_close($ch);

        echo $output;

?>

Then, one has to modify the url_index part in the ipko.com.ini file of WeGrab as follows:
url_index{url()|http://127.0.0.1/ipko_epg.php?date=|urldate}

Here I have used a local webserver to serve the PHP script. If one uses a remote server, then update the http://127.0.0.1 url accordingly.

 

 

becks14
Offline
Joined: 9 years
Last seen: 5 years

First of all php is a server side language, hence I am not sure if one can (and should) execute a php script from command prompt.

Secondly, you shouldn't get the php file contents, but you should see the contents of the $output variable.

I guess your webserver is not properly configured to handle php files. Try to open the php file from a browser at: http://127.0.0.1/tv2go_t2_channels.php

If you can't open the file like this than also webgrab can't open it.

If you still get php file as a result then try to replace nginx with apache webserver.

becks14
Offline
Joined: 9 years
Last seen: 5 years

Blackbear199,

can you please have a look on the RTSH AL ini, as it doesn't work anymore. I get "no show found on index page" for any of the RTSH channels. I am using webgrab on ubuntu with mono.

Thank you.

becks14
Offline
Joined: 9 years
Last seen: 5 years

Thank you. They are slow with the site updates, so sometimes the epg might not be up to date.

Roby
Offline
Donator
Joined: 8 years
Last seen: 3 years


Quote:

[  Info  ] (   4/8   ) RTSH.AL -- chan. (xmltv_id=TVSH) -- mode Incremental
[Error   ] Unable to update channel TVSH
[Critical] Generic syntax exception:
[Critical]    message:
[Error   ] Current culture: en-GB
[Error   ] time parsing error : String was not recognized as a valid DateTime.
[Error   ] index_date time scrubbed : <strong>E MËRKURË, 10 GUSHT 2016</strong>
[Error   ] computer date/time format: 10/08/2016 10:33:11
[  Info  ] Existing guide data restored!
[  Debug ]
[  Info  ] (   4/8   ) IPKO.COM -- chan. (xmltv_id=RTK) -- mode Incremental
[Warning ] error downloading page: Error: SendFailure (Error writing headers)
[Warning ] pausing 1 of 4 times for 5 seconds before re-try.
[Warning ] error downloading page: Error: SendFailure (Error writing headers)
[Warning ] pausing 2 of 4 times for 10 seconds before re-try.
[Warning ] error downloading page: The request timed out (15sec)
[Warning ] Retry 3 of 4 times
[Warning ] error downloading page: The request timed out (20sec)
[Warning ] Retry 4 of 4 times
[Error   ] Unable to update channel RTK
[Critical] Generic syntax exception:
[Critical]    message:
[Error   ] no index page data received from RTK
[Error   ] unable to update channel, try again later
[  Info  ] Existing guide data restored!
[  Debug ]
[  Info  ] (   4/8   ) IPKO.COM -- chan. (xmltv_id=Klan Kosova) -- mode Incremental
[Warning ] error downloading page: The request timed out (5sec)
[Warning ] Retry 1 of 4 times
[Warning ] error downloading page: The request timed out (10sec)
[Warning ] Retry 2 of 4 times
[Warning ] error downloading page: The request timed out (15sec)
[Warning ] Retry 3 of 4 times
[Warning ] error downloading page: The request timed out (20sec)
[Warning ] Retry 4 of 4 times
[Error   ] Unable to update channel Klan Kosova
[Critical] Generic syntax exception:
[Critical]    message:
[Error   ] no index page data received from Klan Kosova
[Error   ] unable to update channel, try again later
[  Info  ] Existing guide data restored!
[  Debug ]
[  Info  ] (   4/8   ) IPKO.COM -- chan. (xmltv_id=KTV) -- mode Incremental
[Warning ] error downloading page: The request timed out (5sec)
[Warning ] Retry 1 of 4 times
[Warning ] error downloading page: The request timed out (10sec)
[Warning ] Retry 2 of 4 times
[Warning ] error downloading page: The request timed out (15sec)
[Warning ] Retry 3 of 4 times
[Warning ] error downloading page: The request timed out (20sec)
[Warning ] Retry 4 of 4 times
[Error   ] Unable to update channel KTV
[Critical] Generic syntax exception:
[Critical]    message:
[Error   ] no index page data received from KTV
[Error   ] unable to update channel, try again later
[  Info  ] Existing guide data restored!
[  Debug ]
[  Info  ] (   4/8   ) BULSAT.COM -- chan. (xmltv_id=Balkanika) -- mode Incremental
[  Debug ] debugging information siteini; urlindex builder
[  Debug ] siteini entry :
[  Debug ] urldate format type: daycounter, value: |0
[  Debug ] url_index created:
[  Debug ]    http://www.bulsat.com/tv-programa.php?view=vertical&go=balkanika
[Error   ] Unable to update channel Balkanika
[Critical] Generic syntax exception:
[Critical]    message:
[Error   ] no index page data received from Balkanika
[Error   ] unable to update channel, try again later
[  Info  ] Existing guide data restored!

Attachments: 
doglover
Offline
Joined: 11 years
Last seen: 3 years

Using ipko.com I get this:

 

[  Info  ] (   1/3   ) IPKO.COM -- chan. (xmltv_id=Film Thriller) -- mode Incremental
[  Debug ] debugging information siteini; urlindex builder
[  Debug ] siteini entry :
[  Debug ] urldate format type: datestring, value: |yyyy-MM-dd
[  Debug ] url_index created:
[  Debug ]    https://www.ipko.com/epg/admin/programs.php?date=2016-10-03
[Warning ] error downloading page: De aanvraag is afgebroken: Kan geen beveiligd SSL/TLS-kanaal maken.
[Warning ] pausing 1 of 3 times for 10 seconds before re-try.
[Warning ] error downloading page: De aanvraag is afgebroken: Kan geen beveiligd SSL/TLS-kanaal maken.
[Warning ] pausing 2 of 3 times for 20 seconds before re-try.

Anyone any idea?

 

Willy

Roby
Offline
Donator
Joined: 8 years
Last seen: 3 years

(  15/15  ) IPKO.COM -- chan. (xmltv_id=Klan TV HD) -- mode Incremental
i
error downloading page: Error: SendFailure (Error writing headers)
pausing 1 of 4 times for 5 seconds before re-try.
error downloading page: Error: SendFailure (Error writing headers)
pausing 2 of 4 times for 10 seconds before re-try.
error downloading page: The request timed out (15sec)
Retry 3 of 4 times
error downloading page: The request timed out (20sec)
Retry 4 of 4 times
Unable to update channel Klan TV HD
Generic syntax exception:
   message:
no index page data received from Klan TV HD
unable to update channel, try again later
Existing guide data restored!

Job finished at 04/10/2016 15:17:22 done in 2m 44s
Utilty to correct offset start and stop times in xmltv files
Jan van Straaten, Januari 2011
User defined post-processing
Nothing to do

Roby
Offline
Donator
Joined: 8 years
Last seen: 3 years

what I need to configure

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: ipko.com
* @MinSWversion:
* @Revision 1 - [13/06/2016] Blackbear199
*   - windows only
* @Revision 0 - [30/10/2014] Jan van Straaten
*   - creation
* @Remarks: only works for windows users
* @header_end
**------------------------------------------------------------------------------------------------
site {url=ipko.com|timezone=Europe/Tirane|maxdays=7|cultureinfo=sq-AL|charset=UTF-8|titlematchfactor=90|keepindexpage}
*
url_index{url|https://www.ipko.com/epg/admin/programs.php?date=|urldate}
urldate.format {datestring|yyyy-MM-dd}
*
url_index.headers {customheader=Accept-Encoding=gzip,deflate}     
url_index.headers {customheader=X-Requested-With=XMLHttpRequest}
url_index.headers {accept=application/json, text/javascript, */*; q=0.01}
url_index.headers {referer=https://ipko.com/epg/}

index_variable_element.modify {addstart|'config_site_id'}
index_showsplit.scrub {regex(debug)||{"id":\d+?,"channel_id":'index_variable_element',.+?"}||}
index_showsplit.modify {cleanup(style=jsondecode)}

index_start.scrub {regex()||"date":"(\d{2}:\d{2}):\d{2}||}
index_title.scrub {regex||"program_name":"(.*?)","||}
index_title.modify {addstart("")|Titulli panjohur}
index_description.scrub {regex||"description":"(.*?)","||}
index_description.modify {remove|\\n}
index_category.scrub {single(separator=",")|"category":"||"|"}

*index_urlshow {url|}
*index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate}     * to speedup the downloading of the detail pages

**  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
**      #####  CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_channel.scrub {regex||"name_short":"(.+?)","||}
*index_site_id.scrub {regex||"channel_id":(\d+?),"||}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end

Roby
Offline
Donator
Joined: 8 years
Last seen: 3 years

Can someone help me please

 

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 05/10/2016 20:01:38
found: C:\ProgramData\ServerCare\WebGrab\siteini.pack\Albania\ipko.com.ini -- Revision 01
processing \\LIBREELEC\Userdata\addon_data\service.webgrabplus\ipko.xml ...
Could find existing channel (xmltv_id=Film Nje HD) in the config file
Could find existing channel (xmltv_id=Film Dy HD) in the config file
Could find existing channel (xmltv_id=Plus HD) in the config file
.....

      i=index  .=same  c=change  g=gab  r=replace  n=new

Group (0) :
update requested for - 3 - out of - 3 - channels for 8 day(s)
(   1/3   ) IPKO.COM -- chan. (xmltv_id=Film Nje HD) -- mode Incremental
i
error downloading page: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
pausing 1 of 4 times for 5 seconds before re-try.
error downloading page: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
pausing 2 of 4 times for 10 seconds before re-try.
error downloading page: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
pausing 3 of 4 times for 15 seconds before re-try.
error downloading page: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
pausing 4 of 4 times for 20 seconds before re-try.
Unable to update channel Film Nje HD
Generic syntax exception:
   message:
no index page data received from Film Nje HD
unable to update channel, try again later
No guide data to restore

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