Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorkAbroad.ph Scraper

A Scrapy project for scraping workabroad.ph job posts. This was my project as a research assistant for Dr. Emily Beam for her research on employment trends.

Installing Scrapy

pip install scrapy

Usage

To scrape data from workabroad.ph

scrapy crawl post -t json -o outputfile.json

Scrapy settings

To change scraping settings, open workabroad/settings.py.

# Scrape job posts from the top n most recent pages
DEPTH_LIMIT = n
# Number of seconds to wait before fetching page
DOWNLOAD_DELAY = 10
# Wait a random time between 0.5 and 1.5 * DOWNLOAD_DELAY
RANDOMIZE_DOWNLOAD_DELAY = True

To clean and export scraped data to CSV

./sanitize.py csv inputfile.json outputfile.csv

To clean and export scraped data to JSON

./sanitize.py json inputfile.json outputfile.json

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages