I have some problems to create a ini file from site Antena play. The site use post method and i just can't figure out how to use this. I can't get any programm and i need some help.
I've searched entire forum to solve my problem and can't find an related problem.
I've attached the folder antenaplay.
I first want to know how the site works.
Like I see it, you can select a day on the channels page like:
Then you can select your date:
And now you get ....
For me it seems like the site is not implementing (yet?) this way of changing the date?
Am I correct?
And the POST you try to do, is the same as what the site does, so you get ... nothing.
Is there another way of listing the shows?
Hi,
as Francis already pointed out, it looks like the site is not yet implemented.
But, in case it will be in some future, the setup you were trying to realise should look like this:
url_index{url(debug)|http://antenaplay.ro/ajaxs/schedule/}
scope.range {(urlindex)|end}
index_variable_element.modify {calculate(format=date,yyyy-MM-dd)|'urldate'}
index_variable_element.modify {addstart()|'config_site_id'&day=}
url_index.headers {method=POST}
url_index.headers {host=antenaplay.ro}
url_index.headers {contenttype=application/x-www-form-urlencoded; charset=UTF-8}
url_index.headers {postdata=cmd=nothing+to+see+here&ChannelID='index_variable_element'}
url_index.headers {customheader=x-requested-with=XMLHttpRequest}
url_index.headers {referer=http://antenaplay.ro/live/antena-news}
url_index.headers {accept=*/*}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
end_scope
index_showsplit.scrub {multi(debug) ||||}
This will result in the postdata you intended to get. (Which , as indication that the site is still in development, starts with nothing+to+see+here )
Notice that you cannot directly use |channel| and |urldate| in postdata, you can only do that in url_index.url. Postdata only accepts elements values as variables (like index_variable_element and index_temp). As the example shows, you have to fill the variable element first (using scope urlindex).
I didn't see any effect of the preload url you had in your url_index.
I hope you succeed Jan
Hi Jan & Francis,
First of all thanks for trying to help me , keep up the good work and webgrabb++ is the best epg grabber .
@Jan : Thank you very much for the future setup. I'll try this setup when the site itself doesn't have that problems.
@Francis :The site should work like you pointed out, but now seems to have some bugs witch is odd because I've tryed before and worked.
From your response I realized there is no big problem with my config but with the site itself.
I wanted to grab the epg for 2 days from this site but I guess I'll stick to my php script witch clone the contents into my database so I can grab epg with webgrabb++.