Commit Graph

163 Commits

Author SHA1 Message Date
1cu
f01109c956 feat: add hash-based ad change detection (#343) (#388)
Co-authored-by: sebthom <sebthom@users.noreply.github.com>
2025-01-26 23:37:33 +01:00
Heavenfighter
66634ce636 fix: fixed shipping button selector #385 (#387) 2025-01-20 21:40:28 +01:00
Jens Bergmann
2f93e0dfda fix: correct city selection when multiple cities are available for a ZIP code
When multiple cities are available for a ZIP code, the bot now correctly selects
the city specified in the YAML file's location field instead of always choosing
the first option.

The change:
- Adds logic to select the correct city from dropdown based on location field
- Adds a small delay after ZIP code input to allow dropdown to populate
- Uses proper WebScrapingMixin method to read dropdown options
2025-01-20 12:22:16 +01:00
sebthom
677c48628d fix: remove temporary workaround for #368 2025-01-10 16:21:44 +01:00
Heavenfighter
ca876e628b fix shipping options when downloading. Fixes #375 (#376) 2025-01-10 16:05:11 +01:00
sebthom
6820a946c9 fix: escape metachars in ID and Names for selector queries #368 2025-01-09 21:14:13 +01:00
Heavenfighter
33a43e3ff6 fix: setting shipping options regression #367 (#374)
Button with given label occurs too often. Path must be corrected.
2025-01-09 20:30:24 +01:00
Heavenfighter
f9eb6185c7 fix: failed to set special attributes #334 (#370) 2025-01-09 17:01:48 +01:00
Heavenfighter
e590a32aa2 fix: re-publishing without images #371 (#372)
added detection of image-question
2025-01-09 17:00:51 +01:00
Heavenfighter
5829df66e4 fix setting shipping options #367 2025-01-09 16:59:38 +01:00
Heavenfighter
f3a7cf0150 feat: don't republish reserved ads. fixes #365 (#366) 2025-01-08 18:21:34 +01:00
sebthom
2705dc7e43 refact: use colorama.just_fix_windows_console instead of colorama.init 2024-12-28 19:25:53 +01:00
sebthom
e077f8d86d feat: improve colorized logging 2024-12-27 15:35:58 +01:00
sebthom
f90f848cba fix: improve online help 2024-12-27 15:33:45 +01:00
sebthom
47614887e7 fix: improve logging 2024-12-27 14:19:20 +01:00
sebthom
1e782beabc fix: update help text 2024-12-27 13:49:05 +01:00
sebthom
9d54a949e7 feat: add multi-language support 2024-12-27 13:04:30 +01:00
provinzio
09f4d0f16f FIX login check has to be done case insensitive 2024-12-13 18:40:56 +01:00
Heavenfighter
9a826452f9 fix: No HTML element found using CSS selector (#354)
Fixes #351
Fixes #353
2024-12-08 18:46:29 +01:00
sebthom
26f05b5506 fix: category value incomplete when downloading ads 2024-11-25 00:03:48 +01:00
sebthom
a83ee4883e refact: minor cleanup 2024-11-25 00:03:18 +01:00
sebthom
e8dcb78951 fix: using shipping type PICKUP fails #346 2024-11-24 21:12:43 +01:00
sebthom
f7ef3c2b2e fix: don't auto delete ads directly after publishing 2024-11-22 23:54:53 +01:00
sebthom
b259977198 feat: if a category is not found try to lookup fallback category 2024-11-22 14:27:32 +01:00
sebthom
50ac195229 feat: extend categories.yaml 2024-11-22 13:43:15 +01:00
sebthom
a876add5a7 feat: by default delete old ads after republishing #338 2024-11-22 12:41:34 +01:00
sebthom
f9fdf4d158 refact: update categories 2024-11-22 12:40:27 +01:00
sebthom
a419c48805 refact: remove redundant comments 2024-11-22 12:30:50 +01:00
sebthom
ee09bb40a2 refact: add comment 2024-11-22 00:12:50 +01:00
sebthom
01d78bb000 feat: support shipping for WANTED ads #349 2024-11-21 23:53:26 +01:00
sebthom
6a315c97ce feat: remove default prefix/suffix text from downloaded ads 2024-11-21 23:28:13 +01:00
sebthom
5086721082 feat: use YAML | block style for multi-line strings on add download 2024-11-21 23:11:36 +01:00
sebthom
735e564c76 fix: save location #296 2024-11-21 22:53:49 +01:00
sebthom
86c3aeea85 fix: downloaded images have wrong file extension #348 2024-11-21 22:53:35 +01:00
sebthom
f6748de2b1 fix: add missing await keyword 2024-11-21 22:04:32 +01:00
sebthom
1b326c1ce8 chore: upgrade to Python 3.13 and update deps 2024-11-15 13:31:29 +01:00
Julian Hackinger
4a3fb230f5 fix: double login required (#344) 2024-11-15 13:05:08 +01:00
sebthom
6c5c1940e1 chore: Update Python dependencies 2024-09-16 11:56:34 +02:00
Saghalt
b9e1f8c327 fix: ValueError when downloading ads without special_attributes (#330) 2024-09-02 20:55:21 +02:00
Saghalt
315400534b Disable search engine popup with chrome 2024-08-22 13:11:46 +02:00
sebthom
0491636666 fix: SSL: CERTIFICATE_VERIFY_FAILED when running compiled version 2024-08-05 13:50:43 +02:00
Jeppy
c1272626aa FIX id of web element to select special attribute changed 2024-07-23 12:14:19 +02:00
Jeppy
c967e901ac FIX select condition from new dialog instead 2024-07-23 12:14:19 +02:00
Jeppy
71eb632191 FIX extract special attributes from ad page
Format of special attribute changed to "key:value|key:value".
Instead of transforming the string to JSON, directly create a dictionary from belen_conf.
2024-07-23 11:42:41 +02:00
Saghalt
eab9874bdb fix: special attributes cannot be parsed as JSON #312 2024-06-11 10:55:03 +02:00
Jeppy
4a8b6ecdf3 FIX selection of shipping options (#307) 2024-05-30 20:54:30 +02:00
Jeppy
929459a08d FIX selecting price type
selecting the wanted index doesn't trigger a change event which is necessary to update  internal variables regarding the price type
2024-05-30 20:27:25 +02:00
Jeppy
72283bf069 UPDATE wait for user interaction to solve captcha on publishing ad (closes Second-Hand-Friends/kleinanzeigen-bot#301) 2024-05-30 20:26:39 +02:00
Jeppy
b30867ca48 FIX extract sell directly from ad page
Web element with id `j-buy-now` does not exist anymore. Fetch the `payment-buttons-sidebar` instead and check the text for `Direkt kaufen`
2024-05-30 19:26:37 +02:00
Kjell Knudsen
ba73ebb393 fix navigation button selector 2024-05-11 15:49:03 +02:00