This repository was archived by the owner on Feb 1, 2022. It is now read-only.
extractor for data from filled form "Anzeige aufgeben"#31
Open
luxlux wants to merge 6 commits intoSecond-Hand-Friends:masterfrom
Open
extractor for data from filled form "Anzeige aufgeben"#31luxlux wants to merge 6 commits intoSecond-Hand-Friends:masterfrom
luxlux wants to merge 6 commits intoSecond-Hand-Friends:masterfrom
Conversation
commented out some console.log(....) lines
Contributor
|
Cool thing, I'll play around with this a bit more the next upcoming days! |
Author
|
Possibly it could also be used to inject it from python via selenium to automatically read out offers (to get manual made changes), before an offer will be deleted and reposted. or to import all offers. or to get an offer by id. I never used python or selenium, but i guess something like injection of javascript should be part of such a solution. injection will also be used by chrome extensions... |
Added a return statement for the ad object (but commented out)
Added Audio Error Output for MacOS (experimental)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.