A tool to upload your advertisements to multiple sites, like Marktplaats and Tweakers.
Use cases:
- prevent manually entering the same advertisement information on multiple websites
- quickly reupload your advertisements, useful for example if they expire or you want them to be higher up in the search results
For each advertisement, the program expects a folder with photos and a text file for the description.
You will need to create a folder for each advertisement you want to upload.
Such a folder needs to contain the photos and the description for the advertisement.
The description should be provided as a .txt
file, and must contain the following:
- First line: advertisement title
- Second line: asking price
- Remaining lines: description
- Activate the virtual environment you created, see the Installing instructions below
- Run the program with
python uploader.py
- The program asks for one or more folders which have the structure as defined above
- The program enters the details on the advertisement site
- You review/edit the details and press upload yourself
- The program will then continue to the next
Have the latest Chrome browser installed.
Have the latest Python version installed, with python.exe added to the PATH.
Open the terminal in cloned folder and create a virtual Python environment called venv
to prevent package issues:
python -m venv venv
Activate the created virtual environment:
venv\Scripts\activate
On Linux, you may need to have the following packages installed:
yay -S gobject-introspection
Install the required Python packages:
pip install -r requirements.txt