Skip to main content

No project description provided

Project description

FavoritesCrawler

Build Version

Crawl your personal favorite images, photo albums, comics from website.

Plan to support:

  • pixiv.net (crawl your bookmarks for illust)
  • yande.re (crawl posts that you voted)
  • immpic.com
  • instagram.com
  • nhentai.net

Already support:

  • pixiv.net (must login), Thanks for project PixivPy.
  • yande.re (must login, only input your username)

Requirements

  • Python3.6+

Install

pip install favorites_crawler

Config Proxy (Optional)

# on Windows
set https_proxy=http://localhost:8080  # replace with your proxy server
# on Liunx/macOS
export https_proxy=http://localhost:8080

Login

Login Pixiv

Thanks for @ZipFile Pixiv OAuth Flow

  1. run command
    favors login pixiv
    
  2. input your user_id (Access your pixiv personal page, copy from address bar), after press Enter, Pixiv login page will open in browser.
  3. Open dev console (F12) and switch to network tab.
  4. Enable persistent logging ("Preserve log").
  5. Type into the filter field: callback?
  6. Proceed with Pixiv login.
  7. After logging in you should see a blank page and request that looks like this: https://app-api.pixiv.net/web/v1/users/auth/pixiv/callback?state=...&code=.... Copy value of the code param into the prompt and hit the Enter key.

Login Yandere

  1. run command:
    favors login yandere
    
  2. input your username and hit the Enter key.

Crawl

Crawl Pixiv

Before run this command, make sure you are already run favors login pixiv.

favors crawl -n pixiv

Crawl Yandere

Before run this command, make sure you are already run favors login yandere.

favors crawl -n yandere

Crawl All Support Site

favors crawl

Config

config file locate on {your_home}/.favorites_crawler/config.yml.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

favorites_crawler-0.0.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

favorites_crawler-0.0.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file favorites_crawler-0.0.2.tar.gz.

File metadata

  • Download URL: favorites_crawler-0.0.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for favorites_crawler-0.0.2.tar.gz
Algorithm Hash digest
SHA256 85fedce0b0450af1564ae106edb0a34dc8f265dd4314d4e7f84e08631c6750c8
MD5 99337d3f4a42cf7bd02159b509f44272
BLAKE2b-256 bb5af9f76a3fc01ebb6aaf6f02427133be4867e931a3daa439d9dbf5f30c5eeb

See more details on using hashes here.

File details

Details for the file favorites_crawler-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: favorites_crawler-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for favorites_crawler-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3edd23c53cb901561b1490e57f1e2111eb28480090381b05cc7670020b81d48
MD5 ea4bd299d40645f14ec0ab89f8099c4d
BLAKE2b-256 ccae137d470dce6ab6a504d37f5f652ecd86d46f018b8d464bf8cd00bcf54ca4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page