DanielStefanK/kleinanzeigen-alert

Adding Links to the Scraper

Closed this issue · 4 comments

Is it somehow possible to give the bot a link to scrape?
I would like to set every position like category and so on at the webpage of kleinanzeigen and then put the link into this bot.
I already searched my VPS for the place where the links are stored but unfortunately couldn't find it.

Every help is mostly appreciated🙏

I am not really sure what you are trying to archive with this or if i am understanding it correctly.

You send the bot a link, the bot searches the page for ads and the send back new ads that where not found before?

Thanks for your quick answer.
You understood it correctly. I want to scrape Cars with specific parameters like Kilometres maximum 150k, Horsepower Minimum 150HP and so on.

As i have understood from your script, my message (e.g. /add Notebook, Köln, 1000, 500, 100) is converted into a link and being saved somewhere on my VPS Server.
It would be great if there was a possibility to add my own link to this file where the other links are all stored.

I hope you understood what i am meaning :)

@DanielStefanK Came across this nice project and instantly had the same idea to send a link to the bot which is then saved instead of sending him parameters. This way, a more precious search would be possible.

Is there any possibility to change the initiation of a search, meaning to implement just a "URL-based"-search? Thanks for the nice project :)

Thank you :)