https://github.com/alyetama/inaturalist-photo-scraper
iNaturalist Photo Scraper
https://github.com/alyetama/inaturalist-photo-scraper
inaturalist scraper
Last synced: 11 days ago
JSON representation
iNaturalist Photo Scraper
- Host: GitHub
- URL: https://github.com/alyetama/inaturalist-photo-scraper
- Owner: Alyetama
- License: mit
- Created: 2022-08-04T06:14:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T13:36:06.000Z (about 3 years ago)
- Last Synced: 2024-12-30T03:52:20.458Z (10 months ago)
- Topics: inaturalist, scraper
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iNaturalist Photo Scraper
[](https://www.python.org/downloads/) [](https://www.python.org/dev/peps/pep-0008/)
## Requirements
- 🐍 [python>=3.7](https://www.python.org/downloads/)## ⬇️ Installation
```sh
pip install inaturalist
```## ⌨️ Usage
```
usage: inat [-h] -t TAXON_ID [-o OUTPUT_DIR] [-p RESUME_FROM_PAGE]
[-P STOP_AT_PAGE] [-u RESUME_FROM_UUID_INDEX] [--upload-to-s3]
[-O] [-r RESULTS_PER_PAGE] [-s START_YEAR] [-e END_YEAR] [-Y]
[--check-multiple-buckets CHECK_MULTIPLE_BUCKETS] [-g]options:
-h, --help show this help message and exit
-t TAXON_ID, --taxon-id TAXON_ID
Taxon id
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Output directory
-p RESUME_FROM_PAGE, --resume-from-page RESUME_FROM_PAGE
Page to resume from
-P STOP_AT_PAGE, --stop-at-page STOP_AT_PAGE
Page to stop at
-u RESUME_FROM_UUID_INDEX, --resume-from-uuid-index RESUME_FROM_UUID_INDEX
UUID index to resume from
--upload-to-s3 Upload to a S3-compatible bucket
-O, --one-page-only Terminate after completing a single page
-r RESULTS_PER_PAGE, --results-per-page RESULTS_PER_PAGE
Number of results per page
-s START_YEAR, --start-year START_YEAR
Year to start from (only relevant when number of
observations > 10,000)
-e END_YEAR, --end-year END_YEAR
Year to stop at (only relevant when number of
observations > 10,000)
-Y, --one-year-only Terminate after completing a single year
--check-multiple-buckets CHECK_MULTIPLE_BUCKETS
Check multiple buckets for existing files
-g, --github-actions-strategy
Get optimal github actions strategy for the pages and
years per workflow run
```