Code Monkey home page Code Monkey logo

immo_trakt's People

Contributors

a0n avatar mustafabayar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

immo_trakt's Issues

New API

Thank you for doing the working and sharing the script with us! It is very unfortunate that they have closed the API. Do you think there is any alternative?

Support multiple `TELEGRAM_CHAT_IDs`

Hi @mustafabayar

Thank you for a great bot, works like a charm ๐Ÿค—

Unfortunately I'm not golang dev, so I can't contribute properly, but I have a feature request to support multiple chat ids.

It would be much convenient if my partner and I would receive the same messages together.

Thank you in advance ๐Ÿ‘

Failure Parsing json

 2022/03/24 20:24:37 json: cannot unmarshal object into Go struct field .searchResponseModel.resultlist.resultlist.resultlistEntries.resultlistEntry of type []struct { ID string "json:\"@id\""; Publishdate string "json:\"@publishDate\""; ResultlistRealEstate struct { ID string "json:\"@id\""; Title string "json:\"title\""; Price struct { Value float32 "json:\"value\""; Currency string "json:\"currency\"" } "json:\"price\""; LivingSpace float32 "json:\"livingSpace\""; NumberOfRooms float32 "json:\"numberOfRooms\""; CalculatedTotalRent struct { Totalrent struct { Value float32 "json:\"value\""; Currency string "json:\"currency\"" } "json:\"totalRent\"" } "json:\"calculatedTotalRent\"" } "json:\"resultlist.realEstate\"" }
exit status 1

this stops the bot.

I will set up the boot to auto-restart for now.
but would be cool to get to the bottom of why the JSON can't be parsed

everything crashes after 1 or 2 hours even after restarting

everything crashes after 1-2 hours and I have to make a subtle change for my search request (for instance, raise the rent 50โ‚ฌ) for it to run again for 1-2 hours. This is probably a protective mechanism from immoscout. Do you have an idea for a soultion?

Panic: Unauthorized when Telegram Bot Token is faulty

โžœ  immo_trakt git:(main) โœ— go run main.go
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible
go: downloading github.com/go-co-op/gocron v1.5.0
go: downloading github.com/kelseyhightower/envconfig v1.4.0
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/technoweenie/multipartstreamer v1.0.1
2022/03/24 18:05:14 ImmoTrakt is going to run with following configuration: 
Frequency: 1m
Include Existing Offers: false
Search: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?price=-950.0&pricetype=calculatedtotalrent&enteredFrom=result_list
Exclude WBS: false
Exclude Tausch: false
2022/03/24 18:05:14 Unauthorized
panic: Unauthorized

goroutine 1 [running]:
log.Panic({0xc000177f10, 0x2f, 0xc00007d530})
	/usr/lib/go/src/log/log.go:354 +0x65
main.main()
	/home/a0n/immo_trakt/main.go:102 +0x219
exit status 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.