From 89d1cfad927b1ed1e46a5dc5af8212590f828419 Mon Sep 17 00:00:00 2001 From: hihell Date: Fri, 15 Oct 2021 14:52:05 +0800 Subject: [PATCH] gevent --- ...1\350\250\200\350\234\232\350\257\255.jpg" | Bin 0 -> 20001 bytes ...17\347\275\221\351\207\207\351\233\206.py" | 49 ++++++++++++++++++ README.md | 2 +- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 "NO37/imgs/00\345\220\216\351\234\270\346\260\224\345\244\264\345\203\217\345\245\263\347\224\237\350\266\205\346\213\275\351\253\230\351\233\205 \345\277\230\345\215\264\351\202\243\344\272\233\346\265\201\350\250\200\350\234\232\350\257\255.jpg" create mode 100644 "NO37/\345\245\263\347\224\237\345\244\264\345\203\217\347\275\221\351\207\207\351\233\206.py" diff --git "a/NO37/imgs/00\345\220\216\351\234\270\346\260\224\345\244\264\345\203\217\345\245\263\347\224\237\350\266\205\346\213\275\351\253\230\351\233\205 \345\277\230\345\215\264\351\202\243\344\272\233\346\265\201\350\250\200\350\234\232\350\257\255.jpg" "b/NO37/imgs/00\345\220\216\351\234\270\346\260\224\345\244\264\345\203\217\345\245\263\347\224\237\350\266\205\346\213\275\351\253\230\351\233\205 \345\277\230\345\215\264\351\202\243\344\272\233\346\265\201\350\250\200\350\234\232\350\257\255.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..58c1608575a400dbab3ad7719be3d676ec59cc77 GIT binary patch literal 20001 zcmb5UbyOQs_wS9n1a}D#2<}#(KyW8eTv`%>Q@l7W7J>x#LW{dJxE2deaaw38#igYb z3PoBA30mxI8#`G`RRQ zxc{&?Y&bZ0__+TW?*AAbJ`V2vc!}>DneQ9^KW+Du!ow%{_YsEz9~TD?fDgDoahb6e z-05hUmuyQ%E4%XrSkma{@;0))U+=&*Dl&9>?oh^MIJM#DUN(IipXnd|nH&?K8I$MB-$ zMYg>n!>0n|o%@(3S83yi50mCqNG0n&SedMl+L^i1l5@Dpx(38kH>PF&>Ib{^RL^`w zD8g)I$h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ni3_-%^9~fD3_ba~3nWMtRU}^(n|Fl8^3IhA?QPoA z)xE@67O>XZtZGy zrOL9>brt+`)S{~5XDYEFr^^7>9m}axJ=_furYL3nOLpGaIL6{$F4)E5`}Inc*z-3VNk~TGXX`!)>J7)a0ZxHdg@r>Sw-dX5hn(s zysgU#TZ*PPELR%T&c_OKD!4>JK|lgiqfuVv0V@+WrCW3+Z5TL&7;-Z1uuUv(E?{bN zKNL*`W2j100*E+BiTbmU^B%>`<~vqrE};$mrG}YQ{6%v?fL1(Qq2v&2F@cec2r{^Bp;xY?io{9Tm8^H0lkq!p&T0W-a9I z6l-z29^&#f72QC2MOLbyE6hb(92ZdJs0Po7HfwMsFg*E~6b{a7aT{aRKy*OVyhX+( z;JScs0UxCPLNpYoiB}T2z04kxzJn^k+b-eg75@MPI?<%T?zI;}+VAEN%m(8O!;67s z1i{NvtRjkU5Nahr)Wt6|bZyMH2N9^f5T=VEKzfSS>Jzs`D(zXCc-Dm{ugn3Db9xxp&TzZmldb8rp`+ASE|6&r~otAobl zPox}E2jV{S2JZC++;b4RtC+Em68L+F2I(O{2;@|ku1B0e?*8Cd6~f9_`%48zVDdN5 H;XnV`s}|F) literal 0 HcmV?d00001 diff --git "a/NO37/\345\245\263\347\224\237\345\244\264\345\203\217\347\275\221\351\207\207\351\233\206.py" "b/NO37/\345\245\263\347\224\237\345\244\264\345\203\217\347\275\221\351\207\207\351\233\206.py" new file mode 100644 index 0000000..2608661 --- /dev/null +++ "b/NO37/\345\245\263\347\224\237\345\244\264\345\203\217\347\275\221\351\207\207\351\233\206.py" @@ -0,0 +1,49 @@ +from gevent import monkey + +monkey.patch_all() + +import threading +from bs4 import BeautifulSoup + +import gevent +import requests +import lxml + + +def get_page(this_urls): + while True: + + if this_urls is None: + break + url = this_urls.pop() + print('正在抓取:{},当前的虚拟线程为:{}'.format(url, threading.current_thread().getName())) + res = requests.get(url=url) + res.encoding = "gb2312" + if res.status_code == 200: + + soup = BeautifulSoup(res.text, 'lxml') + content = soup.find(attrs={'class': 'g-gxlist-imgbox'}) + img_tags = content.find_all('img') + + for img_tag in img_tags: + img_src = img_tag['src'] + # 注意去除文件路径中的特殊符号,防止出错 + try: + name = img_tag['alt'].replace('/', '').replace('+', '').replace('?', '').replace('*', '') + except OSError as e: + continue + save_img(img_src, name) + + +def save_img(img_src, name): + res = requests.get(img_src) + with open(f'imgs/{name}.jpg', mode='wb') as f: + f.write(res.content) + + +if __name__ == '__main__': + urls = [f"https://www.qqtn.com/tx/nvshengtx_{page}.html" for page in range(1, 244)] + # 开启 5 个协程 + gevent.joinall([gevent.spawn(get_page, urls) for i in range(5)]) + + print("爬取完毕") diff --git a/README.md b/README.md index 78598a1..baed538 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ ### 📙 协程学习 -37. 腾牛个性网QQ头像采集,gevent 模块 +37. [python 爬虫爱好者必须掌握的知识点“ 协程爬虫”,看一下如何用 gevent 采集女生用头像](https://dream.blog.csdn.net/article/details/120421824) 38. 麦涩网 MyCoser|cosplay 采集,asyncio 库学习 39. 中少绘本 MP4 视频采集,asyncio 协程第3篇 40. Bensound 站 MP3 采集,asyncio + aiohttp 协程第4篇 -- GitLab