这是由Liao Xuefeng ([email protected])同学制作的萌百渣浪以及疼迅更新姬的自动更新程序
目前存在的问题是
1挂在google app engine上,atastore Small Operations每天都超限,直接导致更新中断。还请优化代码
2关键词过滤系统似乎还是有问题,添加的关键字不能阻止包含关键字的条目被更新出来。
渣浪/疼迅更新姬条目推送功能实现
这是由Liao Xuefeng ([email protected])同学制作的萌百渣浪以及疼迅更新姬的自动更新程序
目前存在的问题是
1挂在google app engine上,atastore Small Operations每天都超限,直接导致更新中断。还请优化代码
2关键词过滤系统似乎还是有问题,添加的关键字不能阻止包含关键字的条目被更新出来。
错误日志大概像这样
2013-06-21 10:40:05.755 /send 500 5053ms 2kb AppEngine-Google; (+http://code.google.com/appengine)
0.1.0.1 - - [21/Jun/2013:08:40:05 -0700] "GET /send HTTP/1.1" 500 2604 - "AppEngine-Google; (+http://code.google.com/appengine)" "gengxin.appspot.com" ms=5053 cpu_ms=1299 cpm_usd=0.000370 queue_name=cron task_name=a9029fcbe8609ea28509b820e59a73fe app_engine_release=1.8.1 instance=00c61b117cb01e5e89f825006aaf3ee6f588aaa9
E 2013-06-21 10:40:05.749
Invalid request URL: //1-ps.googleusercontent.com/h/www.gstatic.com/psa/static/1.gif
Traceback (most recent call last):
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1536, in __call
rv = self.handle_exception(request, response, e)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1530, in call
rv = self.router.dispatch(request, response)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1102, in call
return handler.dispatch()
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 570, in dispatch
return method(_args, *_kwargs)
File "/base/data/home/apps/smoegengxin/1.367450239943569723/main.py", line 37, in getmoegengxin/1.367450239943569723/moeutils.py", line 42, in schedule
self.response.write(moeutils.schedule())
File "/base/data/home/apps/s
image = getImage(feed.link)
File "/base/data/home/apps/s~moegengxin/1.367450239943569723/moeutils.py", line 24, in getImage
image_remote=urlfetch.fetch(img["src"] )
File "/python27_runtime/python27_lib/versions/1/google/appengine/api/urlfetch.py", line 270, in fetch
return rpc.get_result()
File "/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
return self.__get_result_hook(self)
File "/python27_runtime/python27_lib/versions/1/google/appengine/api/urlfetch.py", line 376, in _get_fetch_result
'Invalid request URL: ' + url + error_detail)
InvalidURLError: Invalid request URL: //1-ps.googleusercontent.com/h/www.gstatic.com/psa/static/1.gif
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.