Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Added test's missing sample file

elpolillae0cb3c1ec4bf
diff --git a/scrapy/trunk/scrapy/tests/sample_data/image_linkextractor.html b/scrapy/trunk/scrapy/tests/sample_data/image_linkextractor.html
new file mode 100644
index 000000000..750fbafd3
--- /dev/null
+++ b/scrapy/trunk/scrapy/tests/sample_data/image_linkextractor.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+<base href='http://examplesite.com' />
+<title>Sample page with image links for testing ImageLinkExtractor</title>
+</head>
+<body>
+<div id='wrapper'>
+<div id='subwrapper'>
+<img src='sample1.jpg' alt='sample 1' />
+
+<a href='sample2.html' title='sample 2'>
+<img src='sample2.jpg' alt='sample 2' />
+</a>
+
+<a href='sample3.html' title='sample 3'>sample 3 image</a>
+</div>
+<img src='sample4.jpg' title='sample 4' />
+<img src='sample4.jpg' title='sample 4 repetition' />
+</div>
+</body>
+</html>