MA3STR0 / kimsufi-crawler

Crawler that will send you an email alert as soon as servers on OVH/Kimsufi become available for purchase
MIT License
194 stars 62 forks source link

Looks like not working #28

Closed soar closed 9 years ago

soar commented 9 years ago

I have run script just now, when I see available servers in web-interface:

2015-04-18 12-06-29 kimsufi affordable dedicated server - mozilla firefox

But there are not any announcements in console or on my email:

# python crawler.py          
2015-04-18 12:03:22,697 SMTP server check passed           
2015-04-18 12:03:22,697 Notification system check passed   
2015-04-18 12:03:22,698 Starting IO loop

My config.json:

{                                           
    "servers": ["KS-2", "KS-2 SSD", "KS-3"],
    "zones": ["rbx", "sbg"],                
    "notifier": "email",                    
    "from_email": "<gmail-account>",       
    "from_pwd": "<password>",     
    "from_smtp_host": "smtp.gmail.com",     
    "to_email": "<my-email>",              
    "crawler_interval": 20                  
}                                           

Here is content of https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2 at this time:

http://pastebin.com/rH9mAk9A

soar commented 9 years ago

Oh, sorry.. I have updated my config file to:

"servers": ["KS-2a", "KS-2b", "KS-2c"]

... and script works now. You should write about this to README, I think.

MA3STR0 commented 9 years ago

Right, good idea