It is currently April 26th, 2024, 6:57 am

WebParser plugin Header option not work

Get help with creating, editing & fixing problems with skins
handsome
Posts: 2
Joined: October 13th, 2018, 3:36 am

WebParser plugin Header option not work

Post by handsome »

I use WebParser plugin to parse weather data from http://example.com/data/xxx.api and the API is need a Referer header to access.
So I and Header option to measure section as follow:

Code: Select all

[MeasureWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://example.com/data/#CODE#.api
RegExp="........"
StringIndex=1
Header=Referer: http://example.com/
But it don`t work. While capture traffic by fiddler 4, no Referer header send in request headers, even changed Header to Header2 or Header3...
Last edited by eclectic-tech on October 18th, 2018, 11:21 am, edited 1 time in total.
Reason: Please use code tags.
handsome
Posts: 2
Joined: October 13th, 2018, 3:36 am

Re: WebParser plugin Header option not work

Post by handsome »

Hi, can anyone help me? Thanks!
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: WebParser plugin Header option not work

Post by balala »

handsome wrote: October 18th, 2018, 7:12 am Hi, can anyone help me?
I think no one has understood what and how are you doing, since no one replied none after 10 days. What URL would you like to use? Is that just an example or it is concretely the used URL? How does the RegExp looks like? And the questions could go on.
So, please post the whole code and let us take a look.