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:
(replacepython3
with 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
Close
Hashes for insta_hashtag_crawler-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e06f0a62c11946acfe72234ebbf27aa4cb5cea2aa50a5c2168e8d39dc9a66134 |
|
MD5 | 1b1832e4beee3d0eab2f29a87d49ec07 |
|
BLAKE2b-256 | 9ffd5560fdc0fbc53cc1c3fe90f472a0e82a039f48e53cd9a8d8266c47ae4e88 |
Close
Hashes for insta_hashtag_crawler-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b823349ede05138ba91a931000762eecfd099a6f699371b6a9872466d8a7b072 |
|
MD5 | 40a10dcaeb020a39a5a025f99b669dbb |
|
BLAKE2b-256 | feba21a13720ea14c2a6f164048f5bbc68ff2b109e2047f1b4c35a339e364503 |