Bypass Shopify's bot detection and create bulk logos using hatchful logo maker.
You need chrome driver to run this script. Download the driver here: https://sites.google.com/a/chromium.org/chromedriver/downloads
Driver file should be located in the root of the script (next to main.py
):
|-- auto_hatchful
|-- main.py
|-- scraper.py
|-- chromedriver.exe # or chromedriver depending on your OS
Install the python requirements: pip install -r requirements.txt
Edit the list.csv
and add as many "name" and "slogan" you want (leave the logo empty) and then run the script: python main.py
The script will create each logo and will place them in the logos
folder.
The script will skip any row in list.csv
file with a logo path so you can run the script multiple times and it will ignore all the ones with logo path and only creates a logo for the ones without a path.
You can use FireFox driver by overriding the _browser
variable in __init__
function in HatchfulScraper
class located in scraper.py
file.
There are random periods of sleep and mouse movements to avoid being detected as a bot. You can probably change and lower the times to make the script work faster but you need to try different durations to get to the minimum delay numbers/durations.
The script will retry 5 times if creating a logo fails. You can change the number of tries here located in main.py
file.
MIT