wayneburkett / everylotbot Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fitnr/everylotbot
Create Twitter bots that post Google Streetview pictures of a property database
License: GNU General Public License v3.0
This project forked from fitnr/everylotbot
Create Twitter bots that post Google Streetview pictures of a property database
License: GNU General Public License v3.0
Google fails when trying to create an image for the following address (API key omitted):
This gives an HTTP 500 error (again, you'll need to add an API key to see it), which causes a crash when Tweepy attempts to create a media object using the missing image:
Traceback (most recent call last):
File "/usr/local/bin/everylot", line 9, in
load_entry_point('everylot==0.3.1', 'console_scripts', 'everylot')()
File "build/bdist.macosx-10.13-intel/egg/everylot/bot.py", line 59, in main
File "build/bdist.macosx-10.13-intel/egg/twitter_bot_utils/api.py", line 206, in media_upload
File "build/bdist.macosx-10.13-intel/egg/twitter_bot_utils/api.py", line 230, in image_upload
File "build/bdist.macosx-10.13-intel/egg/tweepy/binder.py", line 250, in _call
File "build/bdist.macosx-10.13-intel/egg/tweepy/binder.py", line 234, in execute
tweepy.error.TweepError: media type unrecognized.
The command that generated the error is obviously app-specific, but here it is, anyway:
$ everylot stlparcels prcl.db --config ~/bots.yaml --dry-run --verbose --search-format "{address}, St. Louis, MO" --id 10059000030
10059000030
is the parcel ID for the address that causes the failure.
See:
The camera captures quite a bit of the sky, but not the curb, so it could probably be angled down a bit. I'm pretty sure this is a param on the SV requests. Just need to look into it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.