This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
extractor for data from filled form "Anzeige aufgeben" #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In some cases it's more easy to fill the web page, to create a new offer. especially when creating offers with special fields like for cars or bikes. so i created a javascript script, which can be uses to extract the filled data as "ad" object. the extracted data can be included into your config.json using copy and paste.
It is used like this: Fill in all data in a Chrome browser, after clicking "Anzeige aufgeben", or "Bearbeiten" and open developer tools (right click on "Untersuchen" or press CMD+ALT+I (on Mac)). Select the Tab "console" and copy the full text of this script into it and press RETURN
It should show you the data for copying it.
https://github.com/luxlux/ebayKleinanzeigen/blob/master/extractor.js
While doing this, i noticed, some things, which a not implemented.
Unfortunately i never did something in python. May be somebody can add this:
Up to now kleinanzeigen.py script have no handling for filling checkboxes, like used i.e. for offers of cars.
This is an example category with such checkboxes:
also a handling for
"posterType": "PRIVATE"
or"posterType": "COMMERCIAL"
is not implemented up to now.Former a filling of the
"imprint"
field for "COMMERCIAL" should be added.