- This project requires python3 with: python-requests, bs4
- Run
pip3 install -r requirements.txt
- The program currently requires that you post at LEAST one photo
- As per Kijiji requirements, the item description must be at least 10 characters
- Generate a posting file (item.inf) with the command
python generate_inf_file.py
and follow the prompts - Place all photo dependancies in the current directory
Make sure you're in the correct directory before proceeding!
cd kijiji_repost_headless
To post item.inf:
python kijiji_cmd.py -u (username) -p (password) post item.inf
To repost item.inf (will delete the ad if it is already posted prior to posting):
python kijiji_cmd.py -u (username) -p (password) repost item.inf
To delete all ads:
python kijiji_cmd.py -u (username) -p (password) nuke
To delete one ad:
python kijiji_cmd.py -u (username) -p (password) delete (adId)
Alternatively, there are also commands for posting/reposting an ad from a folder, which is especially useful for saving you from re-entering your username/password
Inside your folder, include ALL photos, an item.inf
ad file, and a login.inf
file with the first line containing your Kijiji login email and the second line containing your Kijiji login password.
To post from folder:
python kijiji_cmd.py folder (folderName)
To repost from folder:
python kijiji_cmd.py repost_folder (folderName)
Please open a GitHub issue or pull request if you discover problems.
- Error handling -> automatically send bugs + logs to developer
- Avoid reuploading the same pictures again and again