A universal package of scraper scripts for humans
Project description
Table of Contents
About The Project
Scrapera is a completely Chromedriver free package that provides access to a variety of scraper scripts for most commonly used machine learning and data science domains. Scrapera directly and asynchronously scrapes from public API endpoints, thereby removing the heavy browser overhead which makes Scrapera extremely fast and robust to DOM changes. Currently, Scrapera supports the following crawlers:
The main aim of this package is to cluster common scraping tasks so as to make it more convenient for ML researchers and engineers to focus on their models rather than worrying about the data collection process
DISCLAIMER: Owner or Contributors do not take any responsibility for misuse of data obtained through Scrapera. Contact the owner if copyright terms are violated due to any module provided by Scrapera.
Prerequisites
Prerequisites can be installed separately through the requirements.txt
file as below
pip install -r requirements.txt
Installation
Scrapera is built with Python 3 and can be pip
installed directly
pip install scrapera
Alternatively, if you wish to install the latest version directly through GitHub then run
pip install git+https://github.com/DarshanDeshpande/Scrapera.git
Usage
To use any sub-module, you just need to import, instantiate and execute
from scrapera.video.vimeo import VimeoScraper
scraper = VimeoScraper()
scraper.scrape('https://vimeo.com/191955190', '540p')
For more examples, please refer to the individual test folders in respective modules
Contributing
Scrapera welcomes any and all contributions and scraper requests. Please raise an issue if the scraper fails at any instance. Feel free to fork the repository and add your own scrapers to help the community!
For more guidelines, refer to CONTRIBUTING
License
Distributed under the MIT License. See LICENSE
for more information.
Sponsors
Contact
Feel free to reach out for any issues or requests related to Scrapera
Darshan Deshpande (Owner) - Email | LinkedIn
Acknowledgements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.