Jump to content
UBot Underground

Best Way To Create A Log File


Recommended Posts

So im creating a bot thats going to scrape an RSS Feed grab the UPS tracking numbers and log into a website and post the tracking number to a specific customer order.  I already did most of it but my question is, whats the best way to create a log file or the best structure.  Once I grab the tracking number  do whatever I need to do with it, I dont want it to do it again when it scrapes the RSS feed again im guessing thats where a log file will come into place.

 

 

Thanks in advance.

Link to post
Share on other sites

In this case you probably want to create a database that keeps track of the numbers so that they are not kept in memory. At the very least keep the numbers in text files labelled in process or completed or something but having a database with the numbers in it could be more flexible and allow you to store more information related to that tracking number. I would do an sqlite database, Aymen has a plugin for it.

  • Like 1
Link to post
Share on other sites

In this case you probably want to create a database that keeps track of the numbers so that they are not kept in memory. At the very least keep the numbers in text files labelled in process or completed or something but having a database with the numbers in it could be more flexible and allow you to store more information related to that tracking number. I would do an sqlite database, Aymen has a plugin for it.

 

 

Besides the plugin do I need to install sqlite on the computer that its running on?  

Link to post
Share on other sites

Besides the plugin do I need to install sqlite on the computer that its running on?  

 

No you don't need anything else, although this will be super helpful for when you're developing so get this but its not necessary to be installed or anything: http://sqlitebrowser.org/

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...