markadc / pader

手写自己的爬虫框架
0 stars 0 forks source link

顶,但是def my parse,yield Request 设计过气了 #1

Open ydf0509 opened 9 months ago

ydf0509 commented 9 months ago

顶,但是def my parse,yield Request 的设计写法过气了

markadc commented 9 months ago

顶,但是def my parse,yield Request 的设计写法过气了 嘻嘻,不知阁下有什么好的创意😎

ydf0509 commented 9 months ago

顶,但是def my parse,yield Request 的设计写法过气了 嘻嘻,不知阁下有什么好的创意😎

你可以看看 这个文章 https://funboost.readthedocs.io/zh/latest/articles/c8.html

或者使用pip install boost_spider框架

markadc commented 9 months ago

顶,但是def my parse,yield Request 的设计写法过气了 嘻嘻,不知阁下有什么好的创意 😎

你可以看看 这个文章 https://funboost.readthedocs.io/zh/latest/articles/c8.html

或者使用pip install boost_spider框架

我之前用过,原来你是作者本人,TKL😎

ydf0509 commented 9 months ago

要使用灵活框架, 下面方式是1998年开发的scrapy开方式,不好

class MySpider(BaseSpider):
           def my parse:
                     yield Request