Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: attribution.html => attribution in HTML format. Files are named according to the scheme: -.svg => the original svg. If you want to re-download after having run the script, remove this directory and its contents. Files will be preferentially used from the cache first, to avoid hitting the server. Python dependencies can be installed with: pip install -r requirements.txtĬache: A cache of html files downloaded from. Relies on requests, PIL, BeautifulSoup, inkscape (used in non-gui mode), and a unix-ish command environment (OS X or Linux). Nice, and stay within the terms of use of the website. Names everything with the noun for easy file browsing.ĭownloads are cached and throttled to a maximum of one every 5 seconds to be.Creates a JSON format file with all the metadata associated with it.This simple scraper makes this easier! Point it at an index file on, and it downloads the icons found on that page. You download a zip file, which you then have to extract, and it has a random ID name rather than a meaningful noun name, and then associating the proper attribution with the icon is a pain. The Noun Project is excellent, but the experience of downloading and using large numbers of icons from it is poor. The noun project website has redesigned several times since this was written, and it will assuredly not work anymore.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |