Hi guys,
I've browsed a lot of threads here but apparently it only refers to IE or is too complicated. I need to search the text of a webpage for the term '+A' and append the result to a text file like this:
https://long.winded.url/ending.on.aspx?with=parameters|yes
https://long.winded.url/ending.on.aspx?with=parameters|no
Any help would be appreciated.
Find search term in webpage with Chrome/FF/Edge
Re: Find search term in webpage with Chrome/FF/Edge
If you are using javascript, you use can URLSearchParams.
In autohotkey, you'll need to parse it. You could use RegEx or just string functions.
What part in particular are you trying to get? is it just the yes and no?
In autohotkey, you'll need to parse it. You could use RegEx or just string functions.
What part in particular are you trying to get? is it just the yes and no?
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Find search term in webpage with Chrome/FF/Edge
The string is simple, somewhere on the website reads ' + A'. In the HTML code it looks like this: + A</td> so a string function should suffice.
Re: Find search term in webpage with Chrome/FF/Edge
Are you trying to scrape information from a webpage? Do you have example html code you want to extract from?
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Find search term in webpage with Chrome/FF/Edge
There's a number of stores I need to check for a certain hardware to be installed. If it is installed, the text of the webpage will contain the term +A. I could also use CTRL-F to have the browser search the text. And if it returns a 1, I would write that into a text file.
Who is online
Users browsing this forum: Archimede and 40 guests