Skip to content

Instantly share code, notes, and snippets.

Eliezer Silva zehsilva

Block or report user

Report or block zehsilva

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View download-free-springer-books.py
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])
@zehsilva
zehsilva / download-books-from-rss-springer.py
Last active Feb 3, 2016
Download books from Springer (RD) passing only the url of the search result or the book page to the script
View download-books-from-rss-springer.py
#!/usr/bin/python
""" @copyleft Eliezer Silva (djosacv@gmail.com)
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:
@zehsilva
zehsilva / best_two_passports.ipynb
Created Mar 30, 2017
best_two_passports.ipynb
View best_two_passports.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View animate-matplotlib-python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.