Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Recommendations for unattended webspider/screen scraping style application

Post Reply
LachlanG
Posts: 4
Joined: Mon Aug 17, 2020 7:51 am

Recommendations for unattended webspider/screen scraping style application

Post by LachlanG »

We're considering using CEF4Delphi in an application that would run unattended, navigating to particular websites, clicking links/buttons and filling in forms on those websites, and scraping data from those websites. It would be nice to be able to run the application as a Windows service.

Would you suggest using the OSR mode for this style of application?

Do you have any other general advice or things to look out for when writing a non-interactive CEF4Delphi application?

Thanks very much,

Lachlan
User avatar
salvadordf
Posts: 4575
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Recommendations for unattended webspider/screen scraping style application

Post by salvadordf »

Hi,

I've never created a Windows service.
I'm sorry but I'm afraid I can't help you with this.
LachlanG
Posts: 4
Joined: Mon Aug 17, 2020 7:51 am

Re: Recommendations for unattended webspider/screen scraping style application

Post by LachlanG »

Ignore the Windows service requirement for now then.

What if the application was just a TForm with a single TButton on it. Pressing that TButton would kick off a process that navigated to a website, clicked on some links, entered some data in controls, and scraped some data off the pages.

The user never needs to see what is happening, everything is automated and hidden from the view of the user.

Would you recommend using OSR for such a program or use a different approach?
User avatar
salvadordf
Posts: 4575
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Recommendations for unattended webspider/screen scraping style application

Post by salvadordf »

In that case a browser in OSR mode seems to be the right choice.

I just wrote this that may help you doing those tasks :
viewtopic.php?f=10&p=6067#p6066
Post Reply