You are here

Connect.bein.com

17 posts / 0 new
Last post
moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year
Connect.bein.com

Hi,

Sorry if this has been asked before. Is it possible to get the data from https://connect.bein.com/tv-guide? I am able to get the data from https://www.bein.com/en/tv-guide/?c=?? however I would like the programme description that is available for some programmes via the connect website.

Moe

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

bein connect for mena has no epg(it exists but there is no data)
so it would be usa/canada which has the same epg.
most use this ini for sports channels and i see no gain in having another ini to maintain for a description of of a sports event.

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

Hi, I might be misunderstanding you but say if I look at the following: https://www.bein.com/en/tv-guide/?c=us. There is no description or basic information whereas, when I look at https://connect.bein.com/tv-guide, I get the same but when I click on more-info there is a description for the programmes for most especially the entertainment channels. I am able to get the data from https://www.bein.com/en/tv-guide/?c=us, but I am struggling with https://connect.bein.com/tv-guide possibly because it blocks you.

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

page loads in browser fine so i cant be being blocked.
i see no data,take a screen shot if you do.

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

The data loads in the browser but not through serverside code and if you are unable to see the data, then maybe your country is being blocked?

Attachments: 
Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

ok,thanks.
i will try it with vpn.
are u using vpn?
if not what country ip are u using?

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

US works fine when I use a VPN. It also works fine without a VPN...

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

hmm,i get same results(no data) with vpn(usa).

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

from you dev tools copy the link for the epg data(paste it in a txt file) and upload it.
also run this ini and upload your wg log file,its for the channel list.
this is the reason i am being blocked(see screenshot).

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

Maybe there was an issue with my VPN as when I reconnected with US it wasn't working....but try a country in MENA...I have the data when I check Egypt...

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

tried egypt,still no data...

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

That is why my serverside code is being blocked...as the server is based in US and I have no experience with ini files, I use PHP curl or other coding...

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

nm,it works with saudi arabia ip.
give me a hour or so.

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

Did you check your IP address to make sure that it was Egypt?

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

give this a try.
this wont work with the dotnet webgrab version,its gives a SSL error.
we havnt figured out why some sites give this error so use webgrab version 3.x that uses mono.

moe122
Offline
Has donated long time ago
Joined: 3 years
Last seen: 1 year

Thanks, but im not using webgrab.I'm using php curl to retrieve the data. The problem is the curl request gets blocked if your server isn't in MENA region.

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 min

grabbing the actual epg does not require a vpn,least not for me.
i did need it to generate the channel list though.
i am in canada and i can grab data no problem without vpn.

update requested for - 1 - out of - 1 - channels for 1 day(s)
( 1/1 ) CONNECT.BEIN.COM -- chan. (xmltv_id=beIN MOVIES 4) -- mode Force
innnnnnnnnnnnn

Summary for update of beIN MOVIES 4
missing shows added 0
changed shows updated 0
new shows added 13
unchanged shows inspected 0
total after update 13

elapstime / updated show 0.01 seconds

Job finished at 05/06/2022 18:51:03 done in 6s

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