A dilligent command line tool to publish ads on ebay-kleinanzeigen.de

Overview

kleinanzeigen-bot

Build Status License Maintainability

Feedback and high-quality pull requests are highly welcome!

  1. About
  2. Installation
  3. Usage
  4. Development Notes
  5. License

About

kleinanzeigen-bot is a console based application to ease publishing of ads to ebay-kleinanzeigen.de.

It is a spiritual successor to AnzeigenOrg/ebayKleinanzeigen with the following advantages:

  • supports Microsoft Edge browser (Chromium based)
  • compatible chromedriver is installed automatically
  • better captcha handling
  • config:
    • use YAML or JSON for config files
    • one config file per ad
    • use globbing (wildcards) to select images from local disk
    • reference categories by name (looked up from categories.yaml)
  • logging is configurable and colorized
  • provided as self-contained executable for Windows, Linux and macOS
  • source code is pylint checked and uses Python type hints
  • CI builds

Installation

Installation using pre-compiled exe

  1. The following components need to be installed:

    1. Chromium, Google Chrome, or Chromium based Microsoft Edge browser
  2. Open a command/terminal window

  3. Download and run the app by entering the following commands:

    1. On Windows:

      curl -L https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/releases/download/latest/kleinanzeigen-bot-windows-amd64.exe -o kleinanzeigen-bot.exe
      
      kleinanzeigen-bot --help
    2. On Linux:

      curl -L https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/releases/download/latest/kleinanzeigen-bot-linux-amd64 -o kleinanzeigen-bot
      
      chmod 655 kleinanzeigen-bot
      
      ./kleinanzeigen-bot --help
    3. On macOS:

      curl -L https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/releases/download/latest/kleinanzeigen-bot-darwin-amd64 -o kleinanzeigen-bot
      
      chmod 655 kleinanzeigen-bot
      
      ./kleinanzeigen-bot --help

Installation from source

  1. The following components need to be installed:

    1. Chromium, Google Chrome, or Chromium based Microsoft Edge browser
    2. Python 3.10 or newer
    3. pip
    4. git client
  2. Open a command/terminal window

  3. Clone the repo using

    git clone https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/
    
  4. Change into the directory:

    cd kleinanzeigen-bot
    
  5. Install the Python dependencies using:

    pip install pdm
    
    # temporary workaround for https://github.com/SeleniumHQ/selenium/issues/10022 / https://github.com/pdm-project/pdm/issues/728#issuecomment-1021771200
    pip install -t __pypackages__/3.10/lib selenium
    
    pdm install
  6. Run the app:

    pdm run app --help
    

Installation using Docker

  1. The following components need to be installed:

    1. Docker
    2. git client
    3. Bash (on Windows e.g. via Cygwin, MSys2 or git)
    4. X11 - X Window System display server (on Windows e.g. https://github.com/P-St/Portable-X-Server/releases/latest)
  2. Clone the repo using

    git clone https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/
    
  3. Open the cloned directory in a Bash terminal window and navigate to the docker subdirectory

  4. Execute bash build-image.sh

  5. Ensure the image is build:

    $ docker image ls
    REPOSITORY                            TAG      IMAGE ID       CREATED       SIZE
    kleinanzeigen-bot/kleinanzeigen-bot   latest   c31fd256eeea   1 minute ago  590MB
    python                                3-slim   2052f0475488   5 days ago    123MB
    

Running the docker image:

  1. Ensure the X11 Server is running

  2. Run the docker image:

    X11_DISPLAY=192.168.50.34:0.0 # replace with IP address of workstation where X11 server is running
    
    DATA_DIR=/var/opt/data/kleinanzeigen-bot # path to config
    
    # /mnt/data is the container's default working directory
    docker run --rm --interactive --tty \
      --shm-size=256m \
      -e DISPLAY=$X11_DISPLAY \
      -v $DATA_DIR:/mnt/data \
      kleinanzeigen-bot/kleinanzeigen-bot \
      --help

Usage

Usage: kleinanzeigen-bot COMMAND [-v|--verbose] [--config=<PATH>] [--logfile=<PATH>]

Commands:
  publish - (re-)publishes ads
  verify  - verifies the configuration files
  --
  help    - displays this help (default command)
  version - displays the application version

Configuration

All configuration files can be in YAML or JSON format.

1) Main configuration

When executing the app it by default looks for a config.yaml file in the current directory. If it does not exist it will be created automatically.

The configuration file to be used can also be specified using the --config <PATH> command line parameter. It must point to a YAML or JSON file. Valid file extensions are .json, .yaml and .yml

The following parameters can be configured:

# wild card patterns to select ad configuration files
# if relative paths are specified, then they are relative to this configuration file
ad_files:
  - "my_ads/**/ad_*.json"
  - "my_ads/**/ad_*.yml"
  - "my_ads/**/ad_*.yaml"

# default values for ads, can be overwritten in each ad configuration file
ad_defaults:
  active: true
  type: # one of: OFFER, WANTED
  description:
    prefix:
    suffix:
  price_type: # one of: FIXED, NEGOTIABLE, GIVE_AWAY
  shipping_type: # one of: PICKUP, SHIPPING, NOT_APPLICABLE
  contact:
    name:
    street:
    zipcode:
    phone:
  republication_interval: # every X days ads should be re-published

# additional name to category ID mappings, see default list at
# https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/blob/main/kleinanzeigen_bot/resources/categories.yaml
categories:
 #Notebooks: 161/27
 #PCs: 161/228

# browser configuration
browser:
  # https://peter.sh/experiments/chromium-command-line-switches/
  arguments:
    # https://stackoverflow.com/a/50725918/5116073
    - --disable-dev-shm-usage
    - --no-sandbox
    # --headless
    # --start-maximized
  binary_location: # path to custom browser executable, if not specified will be looked up on PATH

# login credentials
login:
  username:
  password:

2) Ad configuration

Each ad is described in a separate JSON or YAML file.

Parameter values specified in the ad_defaults section of the config.yaml file don't need to be specified again in the ad configuration file.

The following parameters can be configured:

active: # true or false
type: # one of: OFFER, WANTED
title:
description: # can be multiline, see syntax here https://yaml-multiline.info/

# built-in category name as specified in https://github.com/kleinanzeigen-bot/kleinanzeigen-bot/blob/main/kleinanzeigen_bot/resources/categories.yaml
# or custom category name as specified in config.yaml
# or category ID (e.g. 161/27)
category: Notebooks

price:
price_type: # one of: FIXED, NEGOTIABLE, GIVE_AWAY

shipping_type: # one of: PICKUP, SHIPPING, NOT_APPLICABLE

# list of wildcard patterns to select images
# if relative paths are specified, then they are relative to this ad configuration file
images:
 #- laptop_*.jpg
 #- laptop_*.png

contact:
  name:
  street:
  zipcode:
  phone:

republication_interval: # every X days the ad should be re-published

id: # set automatically
created_on: # set automatically
updated_on: # set automatically

Development Notes

Please read CONTRIBUTING.md before contributing code. Thank you!

  • Running unit tests: pdm run pytest
  • Running linter: pdm run pylint
  • Displaying effective version:python setup.py --version
  • Creating Windows executable: pdm run pyinstaller
  • Application bootstrap works like this:
    pdm run app
    |-> executes 'python -m kleinanzeigen_bot'
        |-> executes 'kleinanzeigen_bot/__main__.py'
            |-> executes main() function of 'kleinanzeigen_bot/__init__.py'
                |-> executes KleinanzeigenBot().run()

License

All files in this repository are released under the GNU Affero General Public License v3.0 or later.

Individual files contain the following tag instead of the full license text:

SPDX-License-Identifier: AGPL-3.0-or-later

This enables machine processing of license information based on the SPDX License Identifiers that are available here: https://spdx.org/licenses/.

Comments
  • WebDriverException: Message: target frame detached

    WebDriverException: Message: target frame detached

    This error basically happens every few ads:

    [ERROR] WebDriverException: Message: target frame detached
      (Session info: chrome=99.0.4844.74)
    Stacktrace:
    #0 0x55d43b355e44 <unknown>
    #1 0x55d43ad35bac <unknown>
    #2 0x55d43ad1f02e <unknown>
    #3 0x55d43ad1da23 <unknown>
    #4 0x55d43ad1e068 <unknown>
    #5 0x55d43ad1df94 <unknown>
    #6 0x55d43ad26897 <unknown>
    #7 0x55d43ad1fb26 <unknown>
    #8 0x55d43ad20221 <unknown>
    #9 0x55d43ad1fe1d <unknown>
    #10 0x55d43ad1f226 <unknown>
    #11 0x55d43ad1e651 <unknown>
    #12 0x55d43ad1e3b3 <unknown>
    #13 0x55d43ad37992 <unknown>
    #14 0x55d43adafcf4 <unknown>
    #15 0x55d43ad9bb53 <unknown>
    #16 0x55d43ad64be2 <unknown>
    #17 0x55d43ad6665c <unknown>
    #18 0x55d43b384aaf <unknown>
    #19 0x55d43b3a2102 <unknown>
    #20 0x55d43b386b65 <unknown>
    #21 0x55d43b3a2a86 <unknown>
    #22 0x55d43b37bb61 <unknown>
    #23 0x55d43b3bf537 <unknown>
    #24 0x55d43b3bf716 <unknown>
    #25 0x55d43b3d9d75 <unknown>
    #26 0x7f9e6939d5c2 <unknown>
    

    Likely some https request fails. Maybe just retry at least once before terminating the script?

    bug 
    opened by DreckSoft 19
  • Dependency on python >=3.10?

    Dependency on python >=3.10?

    Hi,

    Debian stable only has python 3.9, with a dep on >= 3.10 we exclude a whole lot of users. Which part of the code depends on 3.10 and can we change that to work with 3.9?

    documentation wontfix 
    opened by jniggemann 11
  • [ERROR] NoSuchElementException: Message: None

    [ERROR] NoSuchElementException: Message: None

    3 times of 4 runnings I will get this error

    [ERROR] NoSuchElementException: Message: None

    And the browser is showing an advertising picture after login.

    bug 
    opened by Tschak77 11
  • 0.1.dev1+ga5347fc: No ad config files found

    0.1.dev1+ga5347fc: No ad config files found

    Issue with latest pre-release on Win 10 Pro X64

    2022-06-19 16:16:00,678 [INFO] App version: 0.1.dev1+ga5347fc
    2022-06-19 16:16:00,693 [INFO] Loading config from [D:\xxx\ebay\config.yaml]...
    2022-06-19 16:16:00,756 [INFO]  -> found 75 categories
    2022-06-19 16:16:00,756 [INFO] Searching for ad config files...
    2022-06-19 16:16:00,772 [INFO]  -> found 0 ad config files
    

    Older version I had around works:

    2022-06-19 16:19:25,602 [INFO] App version: 0.1.dev1+g2a28cc4.d20220531
    2022-06-19 16:19:25,617 [INFO] Loading config from [D:\xxx\ebay\config.yaml]...
    2022-06-19 16:19:25,664 [INFO]  -> found 75 categories
    2022-06-19 16:19:25,664 [INFO] Searching for ad config files...
    2022-06-19 16:19:25,680 [INFO]  -> found 5 ad config files
    
    bug 
    opened by jniggemann 10
  • set address visibility field per setting

    set address visibility field per setting

    Issue #, if available: #74 #75 Description of changes: added a setting for address visibility and set the checkmark accordingly to enable the street input field

    By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

    opened by DenisLanz 10
  • Message: invalid element state: Element is not currently interactable and may not be manipulated

    Message: invalid element state: Element is not currently interactable and may not be manipulated

    Hi all,

    while creating an ad short before or when adding pictures I get following error:

    ←[1;30m[ERROR]←[0m ←[31mInvalidElementStateException: Message: invalid element state: Element is not currently interactable and may not be manipulated
      (Session info: MicrosoftEdge=101.0.1210.47)
    Stacktrace:
    Backtrace:
            Microsoft::Applications::Events::EventProperties::unpack [0x00007FF6A342CC52+24658]
            Microsoft::Applications::Events::time_ticks_t::time_ticks_t [0x00007FF6A336D342+539922]
            Ordinal0 [0x00007FF6A2E70F05+659205]
            Ordinal0 [0x00007FF6A2E744FA+673018]
            Ordinal0 [0x00007FF6A2E7427B+672379]
            Ordinal0 [0x00007FF6A2E74630+673328]
            Ordinal0 [0x00007FF6A2EA2F6E+864110]
            Ordinal0 [0x00007FF6A2EC769A+1013402]
            Ordinal0 [0x00007FF6A2E9FF34+851764]
            Ordinal0 [0x00007FF6A2EC79B0+1014192]
            Ordinal0 [0x00007FF6A2EDB9E7+1096167]
            Ordinal0 [0x00007FF6A2EC74B3+1012915]
            Ordinal0 [0x00007FF6A2E9E440+844864]
            Ordinal0 [0x00007FF6A2E9F848+849992]
            Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF6A31317D8+120584]
            Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF6A311CE1E+36174]
            Microsoft::Applications::Events::EventProperty::EventProperty [0x00007FF6A312001C+48972]
            Microsoft::Applications::Events::EventProperty::to_string [0x00007FF6A2F70716+30806]
            Microsoft::Applications::Events::time_ticks_t::time_ticks_t [0x00007FF6A3374611+569313]
            Microsoft::Applications::Events::time_ticks_t::time_ticks_t [0x00007FF6A3379044+588308]
            Microsoft::Applications::Events::time_ticks_t::time_ticks_t [0x00007FF6A337919D+588653]
            Microsoft::Applications::Events::time_ticks_t::time_ticks_t [0x00007FF6A338292E+627454]
            BaseThreadInitThunk [0x00007FF92D6D7034+20]
            RtlUserThreadStart [0x00007FF92E0E2651+33]
    ←[0m
    

    I wanted to debug, but haven't debugged pdm projects yet. Opened init.py in vscode, started debug but then get error No module named 'overrides' when trying to start debugging. (Wondering if should install pip overrides). Maybe someone can point me to how I can debug this project suitable.

    Thanks

    bug 
    opened by Airwave1981 9
  • [ERROR] TimeoutException: Message: Loading page failed, it still shows fullscreen ad.

    [ERROR] TimeoutException: Message: Loading page failed, it still shows fullscreen ad.

    There is a fullscreen ad, every time I tried to offer a Fritzbox to 161/225 I tried to use ublock extensions: [uBlock-Origin.crx] # a list of .crx extension files to be loaded but this seems to be wrong, ublock isn't loaded. Are there other workarounds ?

    bug wontfix 
    opened by tegger2000 8
  • Images are uploaded in the wrong order

    Images are uploaded in the wrong order

    Seems the method of sorting the images has changed. Now they are uploaded in the wrong order.

    I specifies - img_.jpg - img_.JPG - img_.jpeg - img_.JPEG - img_.png - img_.PNG

    If I now have img_01.JPG img_02.jpg

    02 gets uploaded before 01.

    I tried specifying somethin like img_*.[jJ][pP][eE]?[gG] but that doesn't work. Please revert the change.

    bug 
    opened by DreckSoft 6
  • ADD download --all feature

    ADD download --all feature

    *Implement #131 *

    Description of changes: Supply the --all flag to download all of the ads on your profile. The feature browses and scrolls the ad section on your profile. It supports multiple ad overview pages, if you have more than 25 ads. This has been tested with 0-50 ads. The references to your ads are captured, and the 'download ad' feature used on them.

    By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

    opened by PhilK-7 5
  • Issue with changing ids of price and priceType fields

    Issue with changing ids of price and priceType fields

    I haven't quite figured it out yet but ebay-kleinanzeigen seems to do something with the field for price and priceType. Sometimes priceType is price-type-react and pstad-price is post-ad-frontend-price. I don't know yet why, but changing it in code lets me publish ads sometimes, sometimes the combination changes.

    opened by DenisLanz 5
  • Failed to execute script '__main__' due to unhandled exception!

    Failed to execute script '__main__' due to unhandled exception!

    Problem with republishing ads:

    `[ERROR] Traceback (most recent call last): File "kleinanzeigen_bot_main_.py", line 8, in File "kleinanzeigen_bot_init_.py", line 506, in main File "kleinanzeigen_bot_init_.py", line 76, in run File "kleinanzeigen_bot_init_.py", line 341, in publish_ads File "kleinanzeigen_bot_init_.py", line 422, in publish_ad File "kleinanzeigen_bot\selenium_mixin.py", line 225, in web_input File "selenium\webdriver\remote\webelement.py", line 93, in clear File "selenium\webdriver\remote\webelement.py", line 710, in _execute File "selenium\webdriver\remote\webdriver.py", line 424, in execute File "selenium\webdriver\remote\errorhandler.py", line 247, in check_response selenium.common.exceptions.InvalidElementStateException: Message: invalid element state: Element is not currently interactable and may not be manipulated (Session info: chrome=102.0.5005.63) Stacktrace: Backtrace: Ordinal0 [0x00C1D953+2414931] Ordinal0 [0x00BAF5E1+1963489] Ordinal0 [0x00A9C6B8+837304] Ordinal0 [0x00A9F0B4+848052] Ordinal0 [0x00A9EF72+847730] Ordinal0 [0x00A9F200+848384] Ordinal0 [0x00AC1D4D+990541] Ordinal0 [0x00AE449C+1131676] Ordinal0 [0x00ABFC74+982132] Ordinal0 [0x00AE46B4+1132212] Ordinal0 [0x00AF4812+1198098] Ordinal0 [0x00AE42B6+1131190] Ordinal0 [0x00ABE860+976992] Ordinal0 [0x00ABF756+980822] GetHandleVerifier [0x00E8CC62+2510274] GetHandleVerifier [0x00E7F760+2455744] GetHandleVerifier [0x00CAEABA+551962] GetHandleVerifier [0x00CAD916+547446] Ordinal0 [0x00BB5F3B+1990459] Ordinal0 [0x00BBA898+2009240] Ordinal0 [0x00BBA985+2009477] Ordinal0 [0x00BC3AD1+2046673] BaseThreadInitThunk [0x777CFA29+25] RtlGetAppContainerNamedObjectPath [0x779C7A7E+286] RtlGetAppContainerNamedObjectPath [0x779C7A4E+238]

    [3112] Failed to execute script 'main' due to unhandled exception!`

    opened by dragonheart100 5
  • category: 80/88/sitzmoebel doesn't work

    category: 80/88/sitzmoebel doesn't work

    Hi, i have a problem with the category "Haus & Garten > Wohnzimmer > Sitzmöbel". I copied it from ?path=80/88/sitzmoebel/ but with the bot it doesn't work. What's wrong with the category ?

    EDIT- No category is working

    bug contributions welcome 
    opened by tegger2000 0
  • Error on Download

    Error on Download

    Hi there, I am struggling to get the software to work. I reached the point where I am able to login and it refreshes the site a few times and then crashes with the error below. I am on Windows 10 and starting the kleinanzeigen-bot with admin rights (without its not working). I am trying to download my current ads as a starting point to modify and republish them.

    [ERROR] NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"section.jsx-1105488430:nth-child(4)"}
      (Session info: chrome=108.0.5359.125)
    Stacktrace:
    Backtrace:
            (No symbol) [0x00F5F243]
            (No symbol) [0x00EE7FD1]
            (No symbol) [0x00DDD04D]
            (No symbol) [0x00E0C0B0]
            (No symbol) [0x00E0C22B]
            (No symbol) [0x00E3E612]
            (No symbol) [0x00E285D4]
            (No symbol) [0x00E3C9EB]
            (No symbol) [0x00E28386]
            (No symbol) [0x00E0163C]
            (No symbol) [0x00E0269D]
            GetHandleVerifier [0x011F9A22+2655074]
            GetHandleVerifier [0x011ECA24+2601828]
            GetHandleVerifier [0x01008C0A+619850]
            GetHandleVerifier [0x01007830+614768]
            (No symbol) [0x00EF05FC]
            (No symbol) [0x00EF5968]
            (No symbol) [0x00EF5A55]
            (No symbol) [0x00F0051B]
            BaseThreadInitThunk [0x762000F9+25]
            RtlGetAppContainerNamedObjectPath [0x77B57BBE+286]
            RtlGetAppContainerNamedObjectPath [0x77B57B8E+238]
    
    [1916] Failed to execute script '__main__' due to unhandled exception!
    
    bug contributions welcome 
    opened by 0SirLoin 0
  • Download all does not work (for multiple pages)

    Download all does not work (for multiple pages)

    The code crashes with an error when trying the get the pagination of the ad overview page. This boils down to the css selector name which seems to be dynamically changing. The current code does not work in multiple cases.

    #147

    @PhilK-7

    bug contributions welcome 
    opened by provinzio 1
  • Error on Ubuntu 22.04

    Error on Ubuntu 22.04

    When I run I get blank chromium with data:, written on url bar and followiing error

    $ kleinanzeigen-bot version
    0.1.dev1+geca782c
    

    image

    $ chromium --version
    Chromium 108.0.5359.94 snap
    $ chromium-browser --version
    Chromium 108.0.5359.94 snap
    $ chromium.chromedriver --version
    ChromeDriver 108.0.5359.94 (713576b895246504ccc6b92c2fb8ce2d60194074-refs/branch-heads/5359_71@{#3})
    
    | | _| | ___(_)_ __   __ _ _ __  _______(_) __ _  ___ _ __      | |__   ___ | |_
    | |/ / |/ _ \ | '_ \ / _` | '_ \|_  / _ \ |/ _` |/ _ \ '_ \ ____| '_ \ / _ \| __|
    |   <| |  __/ | | | | (_| | | | |/ /  __/ | (_| |  __/ | | |____| |_) | (_) | |_
    |_|\_\_|\___|_|_| |_|\__,_|_| |_/___\___|_|\__, |\___|_| |_|    |_.__/ \___/ \__|
                                               |___/
                                                 https://github.com/kleinanzeigen-bot
    
    [INFO] Logging to [/home/lamy/Documents/Mobile/Data/Task/Todo/Sales/kleinanzeigen-bot.log]...
    [INFO] App version: 0.1.dev1+geca782c
    [INFO] Loading config from [/home/lamy/opt/Kleinanzeigen/config.yaml]...
    [INFO]  -> found 138 categories
    [INFO] Searching for ad config files...
    [INFO]  -> found 2 ad config files
    [INFO] Loading ad from [/home/lamy/Desktop/Task/Todo/Sales/Keyboard/ad_Keyboard.yaml]...
    [INFO] Loading ad from [/home/lamy/Desktop/Task/Todo/Sales/Macbook/ad_Laptop.yaml]...
    [INFO] Loaded 2 ads
    [INFO] Creating WebDriver session...
    [INFO] Using Browser: CHROMIUM 108.0.5359 [/snap/bin/chromium]
    [INFO]  -> Custom chrome argument: --disable-dev-shm-usage
    [INFO]  -> Custom chrome argument: --no-sandbox
    [INFO]  -> Chrome binary location: /snap/bin/chromium
    [ERROR] WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist
    Stacktrace:
    #0 0x55915c1512a3 <unknown>
    #1 0x55915bf0ff77 <unknown>
    #2 0x55915bf3bfc4 <unknown>
    #3 0x55915bf37b0c <unknown>
    #4 0x55915bf347d0 <unknown>
    #5 0x55915bf750b7 <unknown>
    #6 0x55915bf74a5f <unknown>
    #7 0x55915bf6c903 <unknown>
    #8 0x55915bf3fece <unknown>
    #9 0x55915bf40fde <unknown>
    #10 0x55915c1a163e <unknown>
    #11 0x55915c1a4b79 <unknown>
    #12 0x55915c18789e <unknown>
    #13 0x55915c1a5a83 <unknown>
    #14 0x55915c17a505 <unknown>
    #15 0x55915c1c6ca8 <unknown>
    #16 0x55915c1c6e36 <unknown>
    #17 0x55915c1e2333 <unknown>
    #18 0x7f279e673b43 <unknown>
    
    [165975] Failed to execute script '__main__' due to unhandled exception!
    
    opened by lamyergeier 1
  • Docker (Captcha present! Please solve and close the captcha, but DON'T click)

    Docker (Captcha present! Please solve and close the captcha, but DON'T click)

    Unfortunately it is not possible to skip the captcha.

    config:

    browser configuration

    browser: #https://peter.sh/experiments/chromium-command-line-switches/ arguments: # https://stackoverflow.com/a/50725918/5116073 - --disable-dev-shm-usage - --no-sandbox - --headless - --start-maximized binary_location: # path to custom browser executable, if not specified will be looked up on PATH extensions: [] # a list of .crx extension files to be loaded use_private_window: true user_data_dir: "" # see https://github.com/chromium/chromium/blob/main/docs/user_data_dir.md profile_name: ""

    ERROR:

    [INFO] Logging to [/mnt/data/kleinanzeigen-bot.log]... [INFO] App version: 0.1.dev180+geca782c.d20221112 [DEBUG] Loading [kleinanzeigen_bot.resources.config_defaults.yaml]... [INFO] Loading config from [/mnt/data/config.yaml]... [DEBUG] Loading categories from [kleinanzeigen_bot.resources.categories.yaml]... [INFO] -> found 138 categories [INFO] Searching for ad config files... [INFO] -> found 1 ad config file [DEBUG] Loading [kleinanzeigen_bot.resources.ad_fields.yaml]... [INFO] Loading ad from [/mnt/data/my_ads/ad_buchse.yaml]... [INFO] Loaded 1 ad [INFO] Creating WebDriver session... [INFO] Using pre-installed Chrome Driver [/usr/bin/chromedriver] [INFO] -> Custom chrome argument: --disable-dev-shm-usage [INFO] -> Custom chrome argument: --no-sandbox [INFO] -> Custom chrome argument: --headless [INFO] -> Custom chrome argument: --start-maximized [DEBUG] Effective browser arguments: ['--incognito', '--disable-crash-reporter', '--no-first-run', '--no-service-autorun', '--disable-dev-shm-usage', '--no-sandbox', '--headless', '--start-maximized'] [DEBUG] Effective browser extensions: [] [DEBUG] Effective experimental options: {'excludeSwitches': ['enable-automation'], 'useAutomationExtension': False, 'prefs': {'credentials_enable_service': False, 'profile.password_manager_enabled': False, 'profile.default_content_setting_values.notifications': 2, 'devtools.preferences.currentDockState': '"bottom"'}} [INFO] New WebDriver session is: xxxxx http://localhost:45921 [INFO] Logging in as [[email protected]]... [DEBUG] -> Opening [https://www.ebay-kleinanzeigen.de/m-einloggen.html?targetUrl=/]... [INFO] ... pausing for 2000 ms ... [DEBUG] ... pausing for 1406 ms ... [DEBUG] ... pausing for 1042 ms ... [DEBUG] ... pausing for 277 ms ... [DEBUG] ... pausing for 1216 ms ... [WARNING] ############################################ [WARNING] # Captcha present! Please solve and close the captcha, but DON'T click 'Einloggen'. [WARNING] ############################################

    ''' [WARNING] ############################################ [WARNING] # Captcha present! Please solve and close the captcha, but DON'T click 'Einloggen'. [WARNING] ############################################ '''

    Is there any way to open the browser manually?

    Or are there any other possible solutions?

    opened by Tommamgo 1
Owner
A group of citizens automating sales of things they do not need anymore to citizens who still do.
Python implementation of SSH file transfer across servers.

SSH Transfer Python implementation of SSH file transfer across servers. Requirements paramiko=2.7.2 Usage Config Preparation Configure some informatio

Zhe Kong 1 Nov 23, 2021
sync-my-tasks is a CLI tool that copies tasks between apps.

sync-my-tasks Copy tasks between apps Report a Bug · Request a Feature . Ask a Question Table of Contents Table of Contents Getting Started Developmen

William Hutson 2 Dec 14, 2021
Lets you view, edit and execute Jupyter Notebooks in the terminal.

Lets you view, edit and execute Jupyter Notebooks in the terminal.

David Brochart 684 Dec 28, 2022
Simple Terminal Styling for Python

escape Escape is a very simple terminal styling library largely inspired by the excellent javascript chalk library. There are other terminal styling l

Syed Abbas 8 Sep 03, 2019
A simple command line chat app to communicate via the terminal.

A simple command line chat app to communicate via the terminal. I'm new to networking so sorry if some of my terminology or code is messed up.

PotNoodle 1 Oct 26, 2021
Module for converting 2D Python lists to fancy ASCII tables. Table2Ascii lets you display pretty tables in the terminal and on Discord.

table2ascii Module for converting 2D Python lists to a fancy ASCII/Unicode tables table2ascii 📥 Installation 🧑‍💻 Usage Convert lists to ASCII table

Jonah Lawrence 40 Jan 03, 2023
Sink is a CLI tool that allows users to synchronize their local folders to their Google Drives. It is similar to the Git CLI and allows fast and reliable syncs with the drive.

Sink is a CLI synchronisation tool that enables a user to synchronise local system files and folders with their Google Drives. It follows a git C

Yash Thakre 16 May 29, 2022
git-partial-submodule is a command-line script for setting up and working with submodules while enabling them to use git's partial clone and sparse checkout features.

Partial Submodules for Git git-partial-submodule is a command-line script for setting up and working with submodules while enabling them to use git's

Nathan Reed 15 Sep 22, 2022
A simple CLI application helps you to find giant files that are eating up your system storage

Large file finder Sometimes it's very hard to find if some giant files are eating up your system storage. We might need to hunt those down. This simpl

Rahul Baruri 5 Nov 18, 2022
ForX - get forex quotes from the terminal

A command line tool for checking exchange rates between currencies, both crypto and fiat.

Gabe Banks 52 Dec 10, 2022
Commandline script to interact with volkswagencarnet library

volkswagencarnet-client command line script to interact with volkswagencarnet library Table of Contents General Info Setup Usage Example Acknowledgeme

3 Jan 19, 2022
Command line tool to automate transforming the effects of one color profile to another, possibly more standard one.

Finished rendering the frames of that animation, and now the colors look washed out and ugly? This terminal program will solve exactly that.

Eric Xue 1 Jan 26, 2022
Ros command - Unifying the ROS command line tools

Unifying the ROS command line tools One impairment to ROS 2 adoption is that all

37 Dec 15, 2022
A command line tool made in Python for the popular rhythm game

osr!name A command line tool made in Python for the popular rhythm game "osu!" that changes the player name of a .osr file (replay file). Example: Not

2 Dec 28, 2021
dsub is a command-line tool that makes it easy to submit and run batch scripts in the cloud.

Open-source command-line tool to run batch computing tasks and workflows on backend services such as Google Cloud.

Data Biosphere 233 Jan 01, 2023
A Python command-line utility for validating that the outputs of a given Declarative Form Azure Portal UI JSON template map to the input parameters of a given ARM Deployment Template JSON template

A Python command-line utility for validating that the outputs of a given Declarative Form Azure Portal UI JSON template map to the input parameters of a given ARM Deployment Template JSON template

Glenn Musa 1 Feb 03, 2022
Python library and command line tool for interacting with Bugzilla

python-bugzilla This package provides two bits: bugzilla python module for talking to a Bugzilla instance over XMLRPC or REST /usr/bin/bugzilla comman

Python Bugzilla Project 112 Nov 05, 2022
CLI tool that helps manage shell libraries.

shmgr CLI tool that helps manage shell libraries. Badges 📛 project status badges: version badges: tools / frameworks used by test suite (i.e. used by

Bryan Bugyi 0 Dec 15, 2021
Redial is a simple shell application that manages your SSH sessions on Unix terminal.

redial redial is a simple shell application that manages your SSH sessions on Unix terminal. What's New 0.7 (19.12.2019) Basic support for adding ssh

Bahadır Yağan 186 Oct 28, 2022
AutoSub is a CLI application to generate subtitle files (.srt, .vtt, and .txt transcript) for any video file using Mozilla DeepSpeech.

AutoSub About Motivation Installation Docker How-to example How it works TO-DO Contributing References About AutoSub is a CLI application to generate

Abhiroop Talasila 414 Jan 06, 2023