Renne Rocha<p>This week I wrote how to use "CrawlSpider" to use a declarative format to follow links during a web scraping project with Scrapy. </p><p>However, in a past project, I had the need to extend this functionality a bit, defining dynamic rules (based on user input).</p><p>So as a continuation of my previous post, I wrote a new one explaining a little about how this solution was made.</p><p><a href="https://rennerocha.com/posts/dynamic-rules-for-following-links-declaratively-with-scrapy/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">rennerocha.com/posts/dynamic-r</span><span class="invisible">ules-for-following-links-declaratively-with-scrapy/</span></a></p><p><a href="https://chaos.social/tags/webscraping" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webscraping</span></a> <a href="https://chaos.social/tags/scrapy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scrapy</span></a> <a href="https://chaos.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>