Jump to content



Photo

Implementing Patches To Bots


  • Please log in to reply
1 reply to this topic

#1 CryptoBot

CryptoBot

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationPH
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 06 November 2019 - 06:23 PM

Hey guys,

 

I built a bot that scrapes values off a real estate site and every couple of months or so the page's url changes.

 

Is it possible to implement a patch to my bot or bots that I've already sold that reflects the new url of the page I want it to scrape? Like an update which automatically downloads when the bot starts.

 

 

Thanks!



#2 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3217 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 07 November 2019 - 08:13 AM

You could either have an update to the bot where the user downloads a new version. Either by implementing a licensing system that checks for updates or by checking yourself. If you want to check yourself all you do is create a page on your site with the current version number. If the bots version is less it can download a new version.

 

Another way is to keep a version of just the url(s), the bot could check the version of that and download a new url file to store locally and use that in the bot.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users