WooHoos and BooHoos
Build a tool that lets us scrape job information from a bunch of websites and populate a database with it.
Along with it, we'll learn about
the use of automated processes to extract data from a website
Requests is a module that allows the user to download files and web pages from the Internet. When you run Requests on a website, you'll get its HTML code.
We use BeautifulSoup to parse through the downloaded HTML code of the webpage and specifically select the content we want.
HTML Code -> [image 1 link, image 2 link, image 3 link, ......]
https://weworkremotely.com/categories/remote-programming-jobs
If you haven't already: pip install requests
Important Methods:
Documentation: http://docs.python-requests.org/en/master/
res will be a Response object that contains all of your HTML code.
Running print(res.content) will show the websites HTML Code
If you haven't already: pip install beautifulSoup4
Inside your file: import bs4
the line above converts your Request object into a BeautifulSoup object to run commands on