No project description provided
Project description
instadump
Requisitos
- Cuenta de IG business.
- Crear app de tipo
businessen https://developers.facebook.com/apps - Crear un system user en https://business.facebook.com/settings/system-users
- Linkear app y cuenta de IG
- Generar access token (sin expiración) con los permisos:
- instagram_basic
- business_management
- pages_show_list
- instagram_manage_insights
- pages_read_engagement
- pages_read_user_content
pip install instadump
Crawl
Exportar variables de entorno (ver ejemplo .env.example), y luego utilizar el subcommand crawl
❯ instadump crawl --help
Usage: instadump crawl [OPTIONS] COMMAND [ARGS]...
Options:
--ig-connected-id TEXT [env var: IG_CONNECTED_ID; required]
--ig-access-token TEXT [env var: IG_ACCESS_TOKEN; required]
-c, --config TEXT Path to YAML config file
-u, --username TEXT Instagram username
-m, --max-items INTEGER Maximum number of items to download
--incremental / --no-incremental
Incremental download [default: incremental]
--period TEXT Period time, ie 7m, 4w, 10d, etc
--start-datetime TEXT Since datetime
--end-datetime TEXT Since datetime
--help Show this message and exit.
--incrementalsolo descarga nuevos posts.--no-incrementalreemplaza el JSON dump y descarga todo nuevamente.
Download media
Las URLs de media suelen expirar al poco tiempo, con el subcomand download-media se puede descargar del JSON obtenido anteriormente.
❯ instadump download-media --help
Usage: instadump download-media [OPTIONS] FILENAME COMMAND [ARGS]...
Arguments:
FILENAME [required]
Options:
--field TEXT [default: media_url]
--media-type [IMAGE|VIDEO|CAROUSEL_ALBUM]
--help Show this message and exit.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file instadump-0.2.1.tar.gz.
File metadata
- Download URL: instadump-0.2.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.7 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df7a1929f7b8596e0119ab0e7718a4489945b6ed666fcd29bfc255ac1cdc1782
|
|
| MD5 |
4f37c4b9abd453724f9a500c92ecc031
|
|
| BLAKE2b-256 |
92994f5cf257c9a89bc3e74656c67c01e4a97e051f8b23e88c3e5266ab06a1e2
|
File details
Details for the file instadump-0.2.1-py3-none-any.whl.
File metadata
- Download URL: instadump-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.7 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea562e5de5541978a7e9ac91af2d8a0f8e8fbb1acd354073334ba3992b8e77d2
|
|
| MD5 |
8f01574de193a88e379f6f189d54d0ca
|
|
| BLAKE2b-256 |
60a70c5d32fbb3ce43c614ece9e0afabc57e104673e7c923df6c60171bd302dd
|