Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-02-10 02:38
Flavor·Python

r"
.*category="(.*?)".*<a class="thumb.*?href="http://.*?art\/(.*?)".*?title=".*? by (.*?),.* data-super-img="(.+?)".+</a>
"
g
Open regex in editor

Description

Scrape DeviantArt's search page HTMl to extract the category, the id, the user and the image url of each post.

Submitted by nelieru