티스토리 뷰

BackEnd/Python

비교 Selenium & Scrapy

Sh.TK 2019. 3. 16. 19:25

상세한 내용: https://blog.michaelyin.info/web-scraping-framework-review-scrapy-vs-selenium/

Conclusion

So which one is better web scraping framwork? There is no solid answer, the answer depends heavily on the actual situation. Below is a quick reference table.


Framework
Selenium
Scrapy
Javascript Support
Support javascript very well
It is time consuming to inspect and develop spider to simulate ajax/pjax requests
Data SizeGood option for small data setWork fine on big data set
EcosystemNot many related projects or pluginsMany related projects, plugins on open source websites such as Github, and many discussions on StackOverflow can help you fix the potential issue.
ExtensibilityNot very easy to extend the projectYou can easily develop custom middleware or pipeline to add custom function, easy to maintain.


댓글
공지사항
최근에 올라온 글
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함