A gevent-based simple instagram hashtag crawler
Project description
Getting Started
Supported Platforms
insta_hashtag_crawler has been tested against the following platforms:
- OS : Ubuntu 17.04 LTS, Windows 10
- Python : cPython >= 3.6
Installation
via pip (recommended)
- When python 3 is the only python distribution installed on the system:
pip install insta_hashtag_crawler
- With multiple versions of python distributions:
(replacepython3with the version you want)
python3 -m pip install insta_hashtag_crawler
- Using
venv:- On Linux
python3 -m venv .venv
source .venv/bin/activate
pip install insta_hashtag_crawler
- On Windows
python3 -m venv .venv
cd .venv/Scripts
activate
pip install insta_hashtag_crawler
via setup.py
git clone https://gitlab.com/point1304/insta_hashtag_crawler.git
cd insta_hashtag_crawler
python3 setup.py bdist
python3 setup.py install
How to
insta_hashtag_crawler is shipped with a very simple command line tool
and this is what you are going to mostly make the use of.
You can start crawling immediately on your shell with:
insta-crawl your-hashtag
This command will generates a series of csv formatted data in your
"current working directory".
csv file name will be: ${hashtag}yyyymmdd(${number}).csv
Optional Arguments
- [--dir] [-d]
You can set the directory where crawling results will be generated
by using [--dir] [-d] option.
The [--dir] options can take an absolute or relative path as an argument.
insta-crawl --dir /some/path/to/dir hashtag
insta-crawl --dir some/relative/path hashtag
- [--quiet] [-q]
Turn on the [--quiet] [-q] flag if you want to mute the crawling logs,
which by default are directed to thestdout. This option will redirect any logs to OS-relevantdev/null.
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
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 insta-hashtag-crawler-0.0.4.tar.gz.
File metadata
- Download URL: insta-hashtag-crawler-0.0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a82d9309f7606b54eae1a3f259fdd7fd7a780ccf59f3dfbe7c3d1f1a24dabbb1
|
|
| MD5 |
12a5790c8cc6f555a6a968b3001f31c4
|
|
| BLAKE2b-256 |
78bdd167a5b95ae6bfbe138bedbe6e4a7c258e102f5e11874e171d1411611ac4
|
File details
Details for the file insta_hashtag_crawler-0.0.4-py3-none-any.whl.
File metadata
- Download URL: insta_hashtag_crawler-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ece9d1770e37fbda62df596ec0263133cdde811591f82fc2b0d87adf28d4422
|
|
| MD5 |
a4241d4a1264526fa2d45722db43b529
|
|
| BLAKE2b-256 |
2277030b401426bb1d5eaee829c7bff5d5dfe93ac1afc25627ff7d0ff370ffb9
|