This file contains hidden or 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
Migrated to https://github.com/davidfoerster/apt-remove-duplicate-source-entries |
This file contains hidden or 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
#license WTFPL | |
#example of usage : python oreilly_downloader.py < url_list | |
#url_list should contain list of urls , a url per line | |
import sys | |
import urllib2 | |
from urllib2 import URLError | |
#making url ready fo download | |
def reformat_url(url): |