I want to follow those links where there is Next in the text like
<div id="pagination"
<a href="#" > 1 </a>
<a href="#" > 2 </a>
<a href="#" > 3 </a>
<a href="#" > Next </a>
</div>
How can i do that i scrapy. it is the last select as well
I want to follow those links where there is Next in the text like
<div id="pagination"
<a href="#" > 1 </a>
<a href="#" > 2 </a>
<a href="#" > 3 </a>
<a href="#" > Next </a>
</div>
How can i do that i scrapy. it is the last select as well
Create a class extending BaseSgmlLinkExtractor
and provide with process_value
callable as shown in docs