# urllist.txt for instructable #Begin urllist.txt the control file for scrape_views.py and graph_views.py ( this version 2015 Feb 12.1 ) # #Directions * a line starting with a # is a comment # there are a lot of comments here, this is the file's documentation. # * elements on a line are seperated with a "," do not put commas inside data # * see comments just above each ocurrance of each type of line for more info. # a graph line starts with the element "graph_", this controls the graphing application # but is ignored by scrape_views.py ( blank lines are also allowed ) # # first element is one of graph_tot, graph_slope, graph_slope_pct... which determines the parameters # for that type of graph ( which is actually used depends upon the command line args to graph_views.py ) # other elements control # graph title, # smallest value on the y scale # largest value on the y scale # name of a .png file will cause the graph to be saved to the .png file # # Here are examples: # Scrape for tech tops: # graph_tot, title = Total Views of Top Tech Instructables, min_y = 0, max_y = 10000000, save_graph = top_tech_tot.png graph_slope, title = Daily Views of Top Tech Instructables, min_y = 0, max_y = 5000, save_graph = top_tech_slope.png graph_slope_pct, title = Daily Views of Top Tech Instructables, min_y = 0, max_y = .5, save_graph = top_tech_slope_pct.png # after one or more graph lines one or more url_lines ( all will be graphed on one graph ) # a url line has no special prefix ( but do not start with "graph") its elements are: # # * long title for instructable # * url of site # * short name for instructable ( used in graph legends ) # Here are examples: Led-Cube-8x8x8, http://www.instructables.com/id/Led-Cube-8x8x8/, led_cube Remove-The-Lyrics-From-Most-Songs, http://www.instructables.com/id/Remove-The-Lyrics-From-Most-Songs/, remove_lyrics Windows-7-Starter-Easy-way-to-change-wallpaper, http://www.instructables.com/id/Windows-7-Starter-Easy-way-to-change-wallpaper/, win7_wp # # Scrape for workshop ( another set of lines with fewer comments ) # graph_tot, title = Total Views of Top Workshop Instructables, min_y = 0, max_y = 10000000, save_graph = top_workshop_tot.png graph_slope, title = Daily Views of Top Workshop Instructables, min_y = 0, max_y = 5000, save_graph = top_workshop_slope.png graph_slope_pct, title = Daily Views of Top Workshop Instructables, min_y = 0, max_y = .5, save_graph = top_workshop_slope_pct.png # DIY-1000-watt-wind-turbine, http://www.instructables.com/id/DIY-1000-watt-wind-turbine/, wind_turb How-to-Build-a-12x20-Cabin-on-a-Budget, http://www.instructables.com/id/How-to-Build-a-12x20-Cabin-on-a-Budget/, build_cab How-to-Weld---MIG-Welding, http://www.instructables.com/id/How-to-Weld---MIG-Welding/, migweld #