Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 urllib | |
import re | |
from subprocess import call | |
fp=urllib.urlopen("https://gist.githubusercontent.com/bishboria/8326b17bbd652f34566a/raw/c20ec05dc4669b93f16d0b5c5824615dea42a956/springer-free-maths-books.md") | |
for line in fp: | |
matchObj = re.match( r'.*\((.*.pdf)\)', line) | |
if matchObj: | |
f=matchObj.group(1) | |
print f | |
call(["wget", f]) |
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
#!/usr/bin/python | |
""" @copyleft Eliezer Silva ([email protected]) | |
This script was developed mostly for recreative and educational purpose, so you use it on your own risk and as it is. | |
With this script you can crawl in springer book search results and download all the book listed in the page. This version also | |
checks if the result set includes many pages and navigate through those pages. | |
There's two ways of using it: | |
1) Link to a single book ulr in springer page: | |
python download-books-from-rss-springer.py 'http://rd.springer.com/book/10.1007/978-3-662-07003-1' | |
2) Link to a search result with many books: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"Afghanistan": "Asia", | |
"Aland Islands": "Europe", | |
"Albania": "Europe", | |
"Algeria": "Africa", | |
"Andorra": "Europe", | |
"Angola": "Africa", | |
"Anguilla": "North America", | |
"Antigua and Barbuda": "North America", | |
"Argentina": "South America", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.