January 2018
Intermediate to advanced
340 pages
8h 6m
English
Documents are also points of interest. You might want to scrape a web page and look for documents. Word processor documents, spreadsheets, slideshow decks, CSV, text, and other files can contain useful information for a variety of purposes.
The following example will search through a URL and search for documents based on the file extensions in the links. A global variable is defined at the top for convenience with the list of all extensions that should be searched for. Customize the list of extensions to search for your target file types. Consider extending the application to take a list of file extensions in from a file instead of being hardcoded. What other file extensions would you look for when trying to ...
Read now
Unlock full access