Detourning The Web

Scrape From Instagram

I try to scrape images from my Instagram and manipulate them with Pillow. Following this tutorial I could easily generate an image like this: Basically what this code is calculating RGB pixel by pixel.  (sin(pi x), cos(pi xy), sin(pi y)) Then I try […]

Detourning The Web

Grabing text from TechCrunch

This week’s assignment is to grab text from a page. So I try to grab all the title of TechCrunch :  https://techcrunch.com/popular/ I open the page and find all the news titles are under h2 tag,  so the CSS selector would […]