Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Add existing ad to config only by providing it's ID #30

Open
OlegLoewen opened this issue Jul 20, 2021 · 1 comment
Open

Add existing ad to config only by providing it's ID #30

OlegLoewen opened this issue Jul 20, 2021 · 1 comment

Comments

@OlegLoewen
Copy link

It's still easier to fill the ad on the web page, than in config file. Therefore, it would be awesome if you could just provide the ad ID to the config (or a separate command of the script) and as result all fields for this ad are filled in config.json and all photos are downloaded in corresponding folder and the ad is enrolled in script.

@luxlux
Copy link

luxlux commented Jul 21, 2021

In some cases it's really more easy to fill the web page. especially when creating offers with special fields like for cars or bikes. so i created just yesterday 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.

Simply 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. Please care about the notes in the start comment of the script

https://github.com/luxlux/ebayKleinanzeigen/blob/master/extractor.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants