@@ -0,0 +1,1025 @@
+#!/usr/bin/env python%0A%0A%22%22%22%0ANo description.%0A%22%22%22%0A%0Aimport sys%0Afrom scrapy import Request%0Afrom scrapy.linkextractors import LinkExtractor%0Afrom scrapy.spiders import CrawlSpider, Rule%0A%0A%0Aclass MoeImgNetCrawler(CrawlSpider):%0A    %22%22%22No descrition%22%22%22%0A%0A    name = 'moeimg.net'%0A    allowed_domains = %5B'moeimg.net'%5D%0A    custom_settings = %7B%0A        'DOWNLOAD_DELAY': 1,%0A    %7D%0A%0A    rules = (%0A        Rule(LinkExtractor(restrict_css='h2 %3E a'), callback='parse_entry'),%0A        Rule(LinkExtractor(restrict_css='li.next %3E a')),%0A    )%0A%0A    def start_requests(self):%0A        %22%22%22No descrition%22%22%22%0A%0A        url = getattr(self, 'tag', None)%0A        yield Request(url, dont_filter=True)%0A%0A    def parse_entry(self, response):%0A        %22%22%22No descrition%22%22%22%0A        images = response.css('a %3E img%5Bsrc*=%22/wp-content/uploads/archives%22%5D::attr(src)')%0A%0A        # Recommend -O images.csv%0A        for image in images:%0A            yield %7B'image': image.get()%7D%0A%0A%0Aif __name__ == '__main__':%0A    print(f'Usage: scrapy runspider %7Bsys.argv%5B0%5D%7D %5Boptions%5D -a tag=URL')%0A

add scrapy version of moeimg.sh