Collect data from a web page

Post here if you need help using Actiona
Post Reply
newboy2008
Posts: 1
Joined: 23 Apr 2023, 21:41

Collect data from a web page

Post by newboy2008 »

Hello,

I would like to collect datas (last 100 numbers) from an online casino to work with statistics.

the page is "https://mystake.com/fr/casino/gamepage?gameid=12489"

a list of 100 last numbers display and we can also see the result in the inspector under the <div class="popup-body">
(right clic on the list > Inspector)

Is there a way to collect these datas and stock them in variable in Actiona ?

Thx !! :wink:
eureka
Posts: 204
Joined: 08 Mar 2016, 22:18

Re: Collect data from a web page

Post by eureka »

You can scrape web sites in multiple ways and inject variables into Aciiona. Probably easier through a file.

I have written Python script to place in Actuona resources to apply BeautifulSoup

Or you can install an extension WebScraper in your browser and invoke that.

Actiona is just the orchestrator of these external processes.
MDLE46
Posts: 108
Joined: 11 Nov 2016, 19:06

Re: Collect data from a web page

Post by MDLE46 »

Hello Newboy 2008,

On scraping, I am a neophyte.
But, I know that sooner or later, I will face it. So, I looked for some simple solutions for:
- scrap on the web,
- and to scrap data on web applications (Attention, the url must always be the same).

And for that, I chose to train myself using 4 extensions for firefox and edge:

- Extension "Extract data",

- Extension "Copy plain text",

- extension Add-on "Text Grabber",

- Extension "HTML - Table Sraper" .

- Extension: "Copy Element Text".

Good luck.
MDLE46*
eureka
Posts: 204
Joined: 08 Mar 2016, 22:18

Re: Collect data from a web page

Post by eureka »

Another option to try.

To access elements in a browser page with browser in focus you can invoke developer tools in browser and read raw text from element(s) using a script.
Hit the "hamburger" icon and navigate to Developer Tools.

Or - Ctrl+Shift+I in Actiona command to toggle.
Post Reply