Skip to content

Commit

Permalink
still need to modify charts url for new API
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Plissonneau committed Nov 25, 2013
1 parent 5c7f998 commit b8dc091
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pytomo/config_pytomo.py
Original file line number Diff line number Diff line change
@@ -100,7 +100,8 @@

# timeframe for the most popular videos fetch at start of crawl
# put 'today', 'week', 'month' or 'all_time' (default case)
TIME_FRAME = 'week'
# new API: only today and all_time are allowed
TIME_FRAME = 'today'

#Time delay between consecutive url crawls and download requests (in seconds)
DELAY_BETWEEN_REQUESTS = 10
4 changes: 2 additions & 2 deletions pytomo/start_pytomo.py
Original file line number Diff line number Diff line change
@@ -1053,8 +1053,8 @@ def create_options(parser):
help='SNMP mode')
parser.add_option('-t', dest='TIME_FRAME', type='string',
help=('Timeframe for the most popular videos to fetch '
"at start of crawl put 'today', 'week', 'month' "
"or 'all_time' (default '%s') [only for YouTube]"
"at start of crawl put 'today', or 'all_time' "
"(default '%s') [only for YouTube]"
% config_pytomo.TIME_FRAME),
default=config_pytomo.TIME_FRAME)
parser.add_option('-n', dest='PING_PACKETS', type='int',
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@
Do not change the RRD_PLOT_DIR, RRD_DIR in pytomo/config_pytomo.py.
"""

VERSION = '3.0.1'
VERSION = '3.0.2'

LICENSE = 'GPLv2'

0 comments on commit b8dc091

Please sign in to comment.