turbot 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/turbot/version.rb +1 -1
- data/templates/manifest.json +2 -1
- data/templates/python/scraper.py +5 -1
- data/templates/ruby/scraper.rb +6 -1
- metadata +1 -1
data/lib/turbot/version.rb
CHANGED
data/templates/manifest.json
CHANGED
data/templates/python/scraper.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
import json
|
2
|
+
import datetime
|
2
3
|
|
3
4
|
for n in range(0,20):
|
4
|
-
data = {"number": n,
|
5
|
+
data = {"number": n,
|
6
|
+
"message": "Hello %s" % n,
|
7
|
+
"sample_date": datetime.datetime.now().isoformat(),
|
8
|
+
"source_url": "http://somewhere.com/%s" % n}
|
5
9
|
print json.dumps(data)
|
data/templates/ruby/scraper.rb
CHANGED