Upwork talent scraper
Project description
Upwork Scraper
Upwork Scraper is a Python library for scraping upwork talent profiles.
Installation
Use the package manager pip to install upwork scraper.
pip install upwork
Usage
from upwork import Scraper, Talent
# initialize the scraper
scraper = Scraper()
# Scrape the first ten profiles
scraper.scrape_upwork_profile()
# Scrape the second ten profiles
scraper.scrape_upwork_profile(page=1)
# Scrape any profile that matches the name john
scraper.scrape_upwork_profile(name='john')
# Scrape the first ten profiles that contain the name john
scraper.scrape_upwork_profile(page=1, name='john')
# saves the first ten pages (100 profiles) to upwork_profiles.json file
scraper.bulk_profiles()
# saves the first ten pages (100 profiles) to profiles.json file
scraper.bulk_profiles(file_name='profiles')
# saves the first ten pages (200 profiles) to sample.json file
scraper.bulk_profiles(max_pages=20, file_name='sample')
Note
The requirements.txt
file should list all Python libraries that this library depends on, and they will be installed using:
pip install -r requirements.txt
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
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.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file upwork-1.0.22-py3-none-any.whl
.
File metadata
- Download URL: upwork-1.0.22-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4807ec1aa129cb150d1817ca003d9b2175320ffceefdf1d26f26d0ba12718701 |
|
MD5 | b7b731d66348cc0e64df66672b6e2019 |
|
BLAKE2b-256 | 3e9ba87ac19263bf676a62bd191f29f822d132620e1336298003e29bf70f7810 |