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
// Step 1: Put this code in a bookmark. | |
// Step 2: Click the bookmark everytime you need access to an academic article. | |
// Step 3: Profit!? | |
javascript: var a=window.location+''; var x=a.indexOf('//'); var p; if(x == -1) { p = a.indexOf('/'); } else { p = a.indexOf('/',x+2); } window.location = a.substring(0,p)+".globalproxy.cvt.dk"+a.substring(p); |
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
import requests | |
parameters = {'action': 'query', | |
'generator': 'categorymembers', | |
'gcmtitle': 'Category:Marvel_Comics_superheroes', | |
'prop': 'revisions', | |
'rvprop': 'content', | |
# The API starts returning dictionaries without the 'revisions' key when requesting more than 50. | |
# Not sure why, and can't find any documentation. | |
'gcmlimit': 50, |
NewerOlder