-
Chrome Driver
- please check your chrome version and download its corresponding driver shown below.(查詢chrome的版本,下載對應的驅動)
-
git clone or downlaod the this repository (clone 或 下載 這個repository)
-
Enter the repository (在本機進入該資料夾,並將下載的chrome驅動放到指定資料夾)
- extract the file downloaded at the step 2. and place "chromedriver.exe" or "chromedriver" in ./web_driver/chromedriver_linux64
-
install packages used in the program (bs4, selenium)
- python -m pip install -r requirements.txt (windows)
- pip install -r requirements.txt (linux)
The following shows how to run the program and download images from Instagram (espescially for all menbers in NTNU AIOTLab, and Thank for all your help!!!)
python main.py --begin 1000 --end 2000 --account [email protected] --passwd xxxxxxxx
--begin: start index of hashtag for downloading (AIOTLab的同學,我們會提供)
--end: end index of hashtag for downloading (AIOTLab的同學,我們會提供)
--account: your ig account (we apply for some accounts for all members in aiotlab) (AIOTLab的同學,我們會提供)
--passwd: you ig password (we would send password to all members in aiotlab) (AIOTLab的同學,我們會提供)
Multiprocess still causes some problems, so don't run this:
python multiprocess_main.py # may be block by instagram