Skip to content

erick-guerra/geeksquad_job_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

#GeekSquad Job Check

In attempts to keep 'posted' on the availability of potential employment at a specific Bestbuy's GeekSquad department, I wrote a quick script that would check if there were any positions available. Included is two scripts, job_check.py and cron_job_check.py, that will check the existence of a tag specific to '0 results' for the search. If tag not found then assumes there are valid results and parses the content.

I decided to use Selector module from the 'Scrapy' scraper library instead of a simpler, more light weight parser like bs4 because I am more comfortable with Scrapy syntax. So to use this module will involve installing Scrapy or you can port as you wish, tag elements are in the scripts to make life easier.

###Getting Started:

Windows (cron_job_check.py):
  • Edit the variables inside the script, save.
  • Set up cron_job_check.py to run for your given times in Task Scheduler.
  • Have a good day !
Linux (cron_job_check.py):
  • Edit the variables inside the script, save.
  • Use crontab to set up a cron jobs to run script with desired paramets
  • Have a good day!

Prerequisites:

To use either script as is requires Scrapy and request libraries.

pip install scrapy
pip install requests

or equivalent in for your environment set-up

TODO:

  • Set up notification of result for a given OS instead of terminal display.
  • For given OS, set up cron/task scheduling from script
  • 'Prettify' out-put into tables

About

First Commit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages