Jump to content

grab some server-side data


sign2apple

Recommended Posts

Hello,

 

I want to grab some data using a script from this site.

But I am stuck right at the beginning. If you make a selection with the drop down boxes you get some output. For example you select:

Selecteer competitienaam:  Najaarscompetitie 2014
Selecteer competitiegroep:  Eredivisie dames
Selecteer weergave: Programma (incl. uitslagen en stand)
Optioneel poule filter:  De Treffers R
Selecteer poule(s): Eredivisie - Poule A

 

I want to grab this output.

When I look at the page source it is inside an iframe:

<iframe src="http://www.nttb-competitie.nl/" width="100%" height="1200" scrolling="yes" frameborder="0" name="NTTB_Competitie"></iframe>

I figured out:

The script on the site first it gets url:

http://www.nttb-competitie.nl/selectie.php?anr=0

And after last selection it gets url:

http://www.nttb-competitie.nl/web_programma.php?reset=0&pidString=1009267&sc=0&vastgesteldeAfdelingsnr=0&cnid=10085&cid=10704&view=programma&pf=1269&pid=1009267

My problem is when I copy those URL's in a webbroser I get a page with only the words:

Ongeldige aanroep!

Which means "Invalid Call!"

 

So my question is: How can I grab the data instead of this stupid message.

Is it even possible or is it somehow protected?

 

Please help!

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.