To scrape images (or any specific file extensions) from command line, you can use
wget -nd -H -p -A jpg,jpeg,png,gif -e robots=off http://boards.4chan.org/sp/
The script above downloads images across hosts (i.e. from a CDN or other subdomain) to the directory from which the command is run from. You’ll see downloaded media as they come down:
Reusing existing connection to s.4cdn.org:80. HTTP request sent, awaiting response... 200 OK Length: 1505 (1.5K) Saving to: '1490571194319s.jpg' 1490571194319s.jpg 100%[=====================>] 1.47K --.-KB/s in 0s 2017-03-26 18:33:26 (205 MB/s) - '1490571194319s.jpg' saved [1505/1505] FINISHED --2017-03-26 18:33:26-- Total wall clock time: 2.7s Downloaded: 66 files, 412K in 0.2s (2.10 MB/s)
Everyone loves cURL, which is another awesome resource, but don’t foget about
wget, which is arguably easier to use!
Introduction For quite a long time now websites with the so called “parallax” effect have been really popular. In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a…
Tabular data can oftentimes be boring, but it doesn’t need to look that way! With a small MooTools class, I can make tabular data extremely easy to read by implementing “zebra” tables — tables with alternating row background colors. The CSS The above CSS is extremely basic.
Speech recognition software is becoming more and more important; it started (for me) with Siri on iOS, then Amazon’s Echo, then my new Apple TV, and so on. Speech recognition is so useful for not just us tech superstars but for people who either want to work “hands…
Rojenx is a leading concept artist who work appears in games and publications
Check out his personal gallery here