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.
null
A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Stream your favorite shows straight from the command line.

A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Installation pip install -r requirements.txt It use

Jonardon Hazarika 17 Dec 11, 2022
AML Command Transfer. A lightweight tool to transfer any command line to Azure Machine Learning Services

AML Command Transfer (ACT) ACT is a lightweight tool to transfer any command from the local machine to AML or ITP, both of which are Azure Machine Lea

Microsoft 11 Aug 10, 2022
A cd command that learns - easily navigate directories from the command line

NAME autojump - a faster way to navigate your filesystem DESCRIPTION autojump is a faster way to navigate your filesystem. It works by maintaining a d

William Ting 14.5k Jan 3, 2023
Ros command - Unifying the ROS command line tools

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

null 37 Dec 15, 2022
Command-line tool for looking up colors and palettes.

Colorpedia Colorpedia is a command-line tool for looking up colors, shades and palettes. Supported color models: HEX, RGB, HSL, HSV, CMYK. Requirement

Joohwan Oh 282 Dec 27, 2022
Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network)

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network)

Phil Wang 4.4k Jan 9, 2023
Free and Open-Source Command Line tool for Text Replacement

Sniplet Free and Open Source Text Replacement Tool Description: Sniplet is a work in progress CLI tool which can do text replacement globally in Linux

Veeraraghavan Narasimhan 13 Nov 28, 2022
PwnWiki command line searching tool & bindings written in Python

pwsearch PwnWiki 数据库搜索命令行工具。 安装 您可以直接用 pip 命令从 PyPI 安装 pwsearch: pip3 install -U pwsearch 您也可以 clone 该仓库并直接从源码启动

PwnWiki 20 Jun 21, 2021
Official AIdea command line tool

AIdea CLI Official AIdea command line tool for https://aidea-web.tw. Installation Make sure you have installed both Python 3 and pip package manager.

AIdea 5 Dec 15, 2021
PyArmor is a command line tool used to obfuscate python scripts

PyArmor is a command line tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.

Dashingsoft 2k Jan 7, 2023
A command line tool to remove background from video and image

A command line tool to remove background from video and image, brought to you by BackgroundRemover.app which is an app made by nadermx powered by this tool

Johnathan Nader 1.7k Jan 1, 2023
Amazon Scraper: A command-line tool for scraping Amazon product data

Amazon Product Scraper: 2021 Description A command-line tool for scraping Amazon product data to CSV or JSON format(s). Requirements Python 3 pip3 Ins

null 49 Nov 15, 2021
A command line tool (and Python library) for archiving Twitter JSON

A command line tool (and Python library) for archiving Twitter JSON

Documenting the Now 1.3k Dec 28, 2022
command line tool for frequent nmigen tasks (generate sources, show design)

nmigen-tool command line tool for frequent nmigen tasks (generate sources, show design) Usage: generate verilog: nmigen generate verilog nmigen_librar

Hans Baier 8 Nov 27, 2022
Command line tool to keep track of your favorite playlists on YouTube and many other places.

Command line tool to keep track of your favorite playlists on YouTube and many other places.

Wolfgang Popp 144 Jan 5, 2023
googler is a power tool to Google (web, news, videos and site search) from the command-line.

googler is a power tool to Google (web, news, videos and site search) from the command-line.

Terminator X 5.9k Jan 4, 2023
LSD (Linux Spotify Downloader) is a command line tool for downloading or rather recording content on Spotify.

LSD (Linux Spotify Downloader) is a command line tool for downloading or rather recording content on Spotify.

Jannis Zahn 7 Jun 21, 2022
Command line tool for google dorks

CLI for google dorks This is the command line tool made with pytohn which allows the users to perform Google dorks easily Installation Install google

subrahmanya  s hegade 3 Feb 8, 2022