Skip to content

search Immobilienscout everyday and put on Twitter new found results

Notifications You must be signed in to change notification settings

tranvohuy/Charlottenburg-daily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charlottenburg-daily

Everyday:

  • Search Immobilienscout on new ads in Charlottenburg (Berlin)
  • Update found results
    • on Twitter
    • on personal Google Sheet with more details of the ads
    • to be sent to personal emails

What is the difference with using Immobilienscout24 app?

  • First, I was just curious if I can do it by myself. Could I understand python modules? Could I read other people's codes?
  • By creating your own program, you can tailor/modify the content you want to see. For example, you may have an email like this emails_content

We sort the ads according to rooms, warm price (this number does not show up in a general search). We care whether the flats/appartment is from private person or from a company. Does it have kitchen or balcony, etc?

  • You can also focus on 2-room or 3-room flats.
  • Are you curious how rent in Berlin changes, especially the flats that you used to live?

Run the project

You need to do several things (more details in the reference):

  • Clone/fork this repository to your github.

  • Sign up for an Heroku account, create a new app. Deploy the app via Github.

  • Sign up for Twitter and Twitter Dev to have Twitter API keys (4 keys). Store these keys in the Heroku app, in Config Vars. These values will be read later by os.environ[...]

    • An instruction for Heroku and Twitter sign up can be found here
  • To connect to your Google Sheet, you need to create an authorization json file for Google Sheet API in Google Console. Store the file in Heroku app, in Config Vars

    • Create an appropriate gsheet, named 'Charlottenburg'.
    • Share this sheet with the email from gsheet API json file.
    • The first time running the program, you should turn off updatet_tweet(ads_msgs) since there will be a lot of new ads.
  • To send email, you need to enter the emails you want to send in Config Vars ConfigVars

  • You can check, or run Heroku app by going to the top right corner, More, Run console, type worker. Heroku will run bot.py.

References:

For future:

  • Google map
  • Send results to Messenger (Facebook)

About

search Immobilienscout everyday and put on Twitter new found results

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages