urlwatch icon indicating copy to clipboard operation
urlwatch copied to clipboard

Question how to handle username/password website with urlwatch?

Open Jorman opened this issue 5 years ago • 3 comments

Hi, I've a couple of question about the possibility to use urlwatch on a username/password site Currently, I'm running urlwatch by a bash script, in order to "randomize" the execution and sleep the script during night

I've to access to my private area, so the page is available only after a log-in, for now I use a cookie method, works but cookie will expire and I don't know if is better to switch to another method Any advice about this? I've to point to main page, then log-in and then go to the page to extract data or I can point directly to the page where I need to extract data?

The last question is about the area that I want to track, that you can see in this image image I want to track only this table, do you think I can do this? image This's what I can extract, any idea?

Sorry but I'm not so expert in html

Jorman avatar Dec 12 '20 17:12 Jorman

You should be able to use "Copy selector" or "Copy XPath" and then use the "css" (for selector) or "xpath" (for XPath) filter to get only this element.

thp avatar Dec 19 '20 08:12 thp

Thanks @thp I configured the element to extract. Any idea about username and password?

Jorman avatar Dec 19 '20 17:12 Jorman

Depending on how sophisticated the page is, mechanize or something might do the trick.

thp avatar Mar 04 '22 19:03 thp