- config.json (from config.json.example)
- geckodriver (to /usr/local/bin): https://github.com/mozilla/geckodriver/releases
- selenium:
pip install selenium
-
New Upload all images from a set subdirectory
-
New Configure shipping type in ad config
-
Automatically deletes and re-publishes ad if existing one is too old
-
Keeps track of ad publishing and last updating date
-
Ability to selectively enable / disable ads being published / updated
-
Overrides auto detected category (if
caturl
is specified) and fills the form data -
Uploads multiple photos
-
Install Python 3 and PIP
sudo apt-get install python3 python3-pip
-
Install Selenium
pip3 install selenium
-
Install Gecko Driver and move it to /usr/bin
-
Check the release Page of Mozilla and replace #RELEASE# with the current release number, e.g. v0.26.0
wget https://github.com/mozilla/geckodriver/releases/download/#RELEASE#/geckodriver-#RELEASE#-linux64.tar.gz
-
Extract the file
tar xzf geckodriver-#RELEASE#-linux64.tar.gz
-
Move the driver to it's preferred location
sudo mv geckodriver /usr/bin/geckodriver
-
-
clone the app from git
git clone https://github.com/donwayo/ebayKleinanzeigen
-
configure the app
-
go to the Project-Folder
-
copy the sample to a new file
cp config.json.example config.json
-
edit the file and fill in your details.
-
to find out the categories you need to start posting an ad on the website and then copy the corresponding link to the category from there. It's the screen where you select the category.
-
-
Start the app
-
go to the app folder
python3 kleinanzeigen.py --profile config.json
-
if launching from VS Code, the following path variable should be set when not in headless mode:
export DISPLAY=":0"
(source)
-
Now a browser window should start, login and fill out the fields automatically.
# create new virtual env, for instance with conda
conda create --name ebayKleinanzeigen python=3.7
conda activate ebayKleinanzeigen
pip install selenium
brew install geckodriver
# if firefox is not installed yet
brew cask install firefox
git clone https://github.com/donwayo/ebayKleinanzeigen
# open config and enter your preferences. For cat_url, see below
cp config.json.example config.json
-
To run the app, run
python kleinanzeigen.py --profile config.json
-
to find out the categories you need to start posting an ad on the website and then copy the corresponding link to the category from there. It's the screen where you select the category.
Now a browser window should start, login and fill the fields automatically.
-
Download and install Python 3 for Windows from https://www.python.org/downloads/
-
create a
ebayKleinanzeigen
directory somewhere you want -
move to Python script installation directory and install some requirements
cd C:\Users\ulrik\AppData\Local\Programs\Python\Python39\Scripts pip install selenium
-
download and extract the Gecko Driver for windows from https://github.com/mozilla/geckodriver/releases and place it in the ebayKleinanzeigen directory
-
download the ebayKleinanzeigen app from git and extract it to the ebayKleinanzeigen directory
-
configure the app
-
go to the ebayKleinanzeigen directory
-
copy the sample to a new file
cp config.json.example config.json
-
edit the file and fill in your details.
-
to find out the categories you need to start posting an ad on the website and then copy the corresponding link to the category from there. It's the screen where you select the category.
-
-
Start the app
-
go to the ebayKleinanzeigen directory
python3 kleinanzeigen.py --profile config.json
-
Now a browser window should start, login and fill the fields automatically.
Elektronik > Foto | foto.art_s |
Kamera , Objektiv , Zubehör , Kamera & Zubehör |
Elektronik > Foto | foto.condition_s |
Neu , Gebraucht , Defekt |
-
@Lopp0 - initial script
-
@donwayo - Fixes and improvements
-
@MichaelKueller - Python 3 migration and cleanup
-
@n3amil - Fixes and improvements
-
@x86dev - Fixes and improvements
-
@neon-dev - Fixes and improvements
-
@kahironimashte - Install guide
-
@therealsupermario - Description Files, ad-level zip codes, custom update interval, support for additional category fields
-
@denisergashbaev - python 3.6 fixes, README.md, running from VS Code