This pull request adds the harvester code into the Django project directory. The code allows to pull Airbnb listings from Vancouver and store them in a csv file.
The relevant files are:
airbnb_url_builder.py: Contains the code to generate the different airbnb urls to get the listings and listing_ids.
listings_spider.py: The enter point for the crawler. Contains the logic of getting the listing_ids from the urls.
pipelines.py: Contains the logic/pipeline for data normalizations.
Type of Change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
[ ] Unit Test
[ ] Integration Test
[ ] E2E Test
Checklist:
Before you submit your pull request, please make sure you have completed the following:
[x] I have read the CONTRIBUTING document.
[x] I have checked that my code adheres to the code style of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.
Screenshots (if applicable)
Include any relevant screenshots or screen recordings demonstrating your changes.
Additional Notes
Please read the README.md in the harvester folder for more information.
Description
Issue Link: Issue
This pull request adds the harvester code into the Django project directory. The code allows to pull Airbnb listings from Vancouver and store them in a csv file.
The relevant files are:
airbnb_url_builder.py
: Contains the code to generate the different airbnb urls to get the listings and listing_ids.listings_spider.py
: The enter point for the crawler. Contains the logic of getting the listing_ids from the urls.pipelines.py
: Contains the logic/pipeline for data normalizations.Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Checklist:
Before you submit your pull request, please make sure you have completed the following:
Screenshots (if applicable)
Include any relevant screenshots or screen recordings demonstrating your changes.
Additional Notes
Please read the
README.md
in theharvester
folder for more information.