這是一個 Python
爬蟲。
輸入關鍵字,即可開始下載符合該關鍵字的 Hashtag 且為公開貼文的圖片。(預設儲存路徑為 /save/<Hashtag>/
)
Version:
v1.1
Last Update:
2023/06/31
Python:
v3.6.9
- Clone the project
$ git clone https://github.com/alpaca0x0/InsTag.git
$ cd InsTag/
- Install libraries
$ pip3 install -r requirements.txt
- Run it !
$ python main.py
- Run the
main.py
. - Enter a
#hashtag
for the image you want to download. - Check images. (By default the file will be saved to path
./save/<hashtag>/
)
--auto, -a
No need to wait for seconds between pages. (頁數之間不須等待秒數,立刻開始下載下一頁)
--debug, -d
Debug Mode (除錯模式,能夠顯示更多詳細資訊)