This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"displayName": "Bikethread", | |
"blocks": [ | |
{ | |
"id": "aaaotcfxyw4te", | |
"type": "input", | |
"inputType": "firehose" | |
}, | |
{ | |
"id": "aaaotcfxyuokk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var time = 0; var count = 0; $('.meta_read_time.meta_item').each(function(){ time += parseInt(/\d+/.exec($(this).text())["0"]); count++; }); alert(time + " minutes to read " + count + " articles."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import requests | |
import time | |
NO_INFO = "We're sorry, there is currently no information available. Please check back later." | |
last_updated = "" | |
while 1: | |
r = requests.get('https://campusrec.illinois.edu/counts/') |