Best JavaScript code snippet using ng-mocks
test_spider.py
Source:test_spider.py
1# coding=utf-82# @Author: è«å3# @Date: 2021-01-204import requests5url = "https://www.kanman.com/106719/"6r = requests.get(url)7print(r.content.decode(encoding="utf-8"))8"""9<!DOCTYPE html><html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Language" content="zh-CN"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>好æ³åæä½ çè®°å¿ å¥½æ³åæä½ çè®°å¿æ¼«ç» 好æ³åæä½ çè®°å¿æ¼«ç»å
¨é 好æ³åæä½ çè®°å¿æ¼«ç»å
è´¹é
读 ç漫ç»</title><meta name="keywords" content="好æ³åæä½ çè®°å¿,好æ³åæä½ çè®°å¿æ¼«ç»,好æ³åæä½ çè®°å¿æ¼«ç»å
¨é,好æ³åæä½ çè®°å¿æ¼«ç»å
è´¹é
读,ç漫ç»"><meta name="description" itemprop="description" content="ç漫ç»ä¸ºæ¨æä¾å¥½æ³åæä½ çè®°å¿,好æ³åæä½ çè®°å¿æ¼«ç»,好æ³åæä½ çè®°å¿æ¼«ç»å
¨é,好æ³åæä½ çè®°å¿æ¼«ç»å
è´¹é
读ï¼ç好æ³åæä½ çè®°å¿æ¼«ç»å°±ä¸ç漫ç»ï¼"><meta itemprop="name" content="ä¸ç漫ç»ï¼ã好æ³åæä½ çè®°å¿ã è®©ä½ ç个è¿ç¾å¦ï¼"><meta itemprop="image" content="https://image.yqmh.com/mh/106719.jpg"><meta name="mobile-agent" content="format=html5;url=https://m.kanman.com"><link rel="alternate" media="only screen and(max-width:640px)" href="https://m.kanman.com/106719/"><meta http-equiv="Cache-Control" content="no-siteapp"><meta http-equiv="Cache-Control" content="no-transform"><meta name="applicable-device" content="pc"><meta http-equiv="imagetoolbar" content="no"><meta name="renderer" content="webkit"><link rel="shortcut icon" href="//resource.mhxk.com/kanman_pc/static/images/favicon.ico"><meta property="og:type" content="novel"><meta property="og:title" content="好æ³åæä½ çè®°å¿"><meta property="og:description" content="ãç¬å®¶/æ¯å¨ä¸ãå
æ´æ°ã女主åä¸ç¥ç§çè®°å¿ç³æï¼æåæ¥è¿äºææçç·ç¥ãå¨ç·ç¥è®°å¿ä¸ï¼çå°äºè®¸å¤ç§å¯å伤çï¼å³å®å¸®å©ç·ä¸»è§£"><meta property="og:image" content="//image.yqmh.com/mh/106719.jpg"><meta property="og:novel:category" content="社ä¼,æç±,çæ´»"><meta property="og:novel:author" content="äºæ¬¡å
å¨æ¼«"><meta property="og:novel:book_name" content="好æ³åæä½ çè®°å¿"><meta property="og:novel:read_url" content="https://www.kanman.com/106719/"><meta property="og:url" content="https://www.kanman.com/106719/"><meta property="og:novel:status" content="å®ç»"><meta property="og:novel:update_time" content="2018-12-08"><meta property="og:novel:latest_chapter_name" content="æç»è¯ åï¼å®å
¨è¿·å¦¹"><meta property="og:novel:latest_chapter_url" content="https://www.kanman.com/106719/19.html"><link rel="prefetch prerender" href="19.html"><script>function isMobileHanddle(){var o=navigator.userAgent;return(screen.width/screen.height<1||/AppleWebKit.*Mobile/i.test(o)||/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(o))&&!/ipad/gi.test(o)}var host=location.host;isMobileHanddle()&&"www"===host.substr(0,host.indexOf("."))&&(location.href=location.href.replace("//www.","//m.")),top.location!=location&&(top.location=location.href),window.shareConf={title:"ä¸ç漫ç»ï¼ã好æ³åæä½ çè®°å¿ã è®©ä½ ç个è¿ç¾å¦ï¼",summary:"è¿éæææ°æå
¨çç«ççé¨æ°çªï¼ å¿«æ¥ç漫ç»å§ï¼",images:["https://image.yqmh.com/mh/106719.jpg"]}</script><link rel="stylesheet" href="//resource.mhxk.com/kanman_pc/static/style/main/entry.vendor.dddb64.css"><link rel="stylesheet" href="//resource.mhxk.com/kanman_pc/static/style/main/entry.common.f04b60.css"><link rel="stylesheet" href="//resource.mhxk.com/kanman_pc/static/style/main/entry.detail.dec997.css"><!--[if lt IE 9]>10 <script src="//static.321mh.com/js/json.js" type="text/javascript"></script>11 <script src="//static.321mh.com/js/es5-shim.min.js" type="text/javascript"></script>12 <script src="//static.321mh.com/js/es5-sham.min.js" type="text/javascript"></script>13 <![endif]--></head><body><div class="acgn-clearfix" style="width:100%"><div class="acgn-col-24 acgn-col-space-middle"><div id="m_2210_1092_1161" class="acgn-model acgn-model-header acgn-clearfix" data-func-floatnav=""><div class="block-wrap block-wrap-fixed"><div class="acgn-row"><div class="acgn-col-24"><div class="block-float block-float-right"><div class="func-menu"><div class="search"><div class="search-wrap"><input class="search-input" id="J_searchKeywords" type="text" placeholder="å¤é天ä¸"> <i class="ift-search" id="J_searchBtn"></i></div><div class="search-inner" id="J_searchContent"><div class="search-inner-main"><div class="search-history" id="J_searchHistroyBox"><h3 title="æç´¢åå²" class="search-title search-title-shadow">æç´¢åå²</h3><div class="search-clean" id="J_clearSearchHistroy"><i class="ift-close"></i></div><p class="search-no-info acgn-hide acgn-tac" id="J_noSearchHistory">没æä»»ä½åå²æç´¢</p><ul class="search-tags" id="J_searchHistroy"></ul></div><div class="search-hot"><h3 class="search-title" id="J_hotSearchTitle">çé¨æç´¢</h3><p class="search-no-info acgn-hide acgn-tac" id="J_noHotSearch">没ææç´¢å°ç»æ</p><ul class="search-list" id="J_hotSearch"></ul></div></div></div></div><div class="user" id="J_userInfo"><div class="face"><a href="javascript:;" target="_blank"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/visitor.png" alt="游客"></a></div><div class="user-inner"><div class="user-inner-main"><h3 class="name"><a href="javascript:;" target="_blank">游客</a></h3><ul class="assets"><li class="asset" id="J_gold"><img src="//resource.mhxk.com/kanman_pc/static/images/product/gold.png" alt="é»ç³" class="mask"> <span class="type">é»ç³</span> <a href="javascript:;" class="num" target="_blank">0</a></li><li class="asset" id="J_coins"><img src="//resource.mhxk.com/kanman_pc/static/images/product/coins.png" alt="éå¸" class="mask"> <span class="type">éå¸</span> <a href="javascript:;" class="num" target="_blank">0</a></li><li class="asset" id="J_recommend"><img src="//resource.mhxk.com/kanman_pc/static/images/product/recommend.png" alt="æ¨è票" class="mask"> <span class="type">æ¨è</span> <a href="javascript:;" class="num" target="_blank">0</a></li><li class="asset" id="J_ticket"><img src="//resource.mhxk.com/kanman_pc/static/images/product/ticket.png" alt="æ票" class="mask"> <span class="type">æ票</span> <a href="javascript:;" class="num" target="_blank">6</a></li></ul><div class="status"><div class="status-login"><div class="login-btn" id="J_layerlogin">ç»å½</div></div></div></div></div></div><ul class="book"><li class="book-nav-item">书æ¶<div class="book-nav-item-bd"><i class="triangle"></i><div class="book-none" id="J_bookNone" style="display:block"><img class="mascot" src="//resource.mhxk.com/kanman_pc/static/images/comm/mascot-fish.png" alt="æ¶è漫ç»"><p class="explain">主人,ä¸æ¶è漫ç»æä¹è¿½æ´å¢~</p><a class="link" href="/sort/" target="_blank" title="漫ç»åç±»">å»æ¾æ¾æ¼«ç»</a></div><div class="book-main" id="J_bookshelfBox"><ul class="book-list" id="J_bookshelfList"><li style="font-size:12px;color:#ddd;line-height:32px;text-align:center">å è½½ä¸......</li></ul><div class="book-count"><span class="all acgn-cursor" id="J_allCollect">å
¨é¨æ¶è</span> <span class="bar" id="J_bookshelfCount">0</span></div></div></div></li><li class="book-nav-split">|</li><li class="book-nav-item">åå²<div class="book-nav-item-bd"><i class="triangle"></i><div class="book-none" id="J_historyNone" style="display:block"><img class="mascot" src="//resource.mhxk.com/kanman_pc/static/images/comm/mascot-fish.png" alt="é
读漫ç»"><p class="explain">åå~主人é½æ²¡æé
读è¿æ¼«ç»è¯¶~</p></div><div class="book-main" id="J_historyListBox" style="display:block"><ul class="book-list" id="J_historyList"><li style="font-size:12px;color:#ddd;line-height:32px;text-align:center">å è½½ä¸......</li></ul><div class="book-count"><span class="all acgn-cursor" id="J_gotoHistory">åå²è®°å½</span> <span class="bar" id="J_historyCount">0</span></div></div></div></li></ul><div class="download"><a href="https://activity.321mh.com/kmh-pc/" target="_blank" title="ä¸è½½APP"><i class="ift-phone phone"></i>ä¸è½½APP</a><div class="download-inner"><img class="qr-code" src="//resource.mhxk.com/kanman_pc/static/images/comm/qr-code.png" alt=""><p class="text">æ«ä¸æ« ä¸è½½APP</p></div></div></div></div><div class="block-float block-float-left"><h1 class="logo" title="ç漫ç»"><a href="/" title="ç漫ç»"><img class="figure" src="//resource.mhxk.com/kanman_pc/static/images/comm/logo-kmh.png" alt="ç漫ç»"></a></h1><ul class="nav-menu"><li class="nav-item"><a href="/" target="_self" title="é¦é¡µ">é¦é¡µ</a> <i class="underline"></i></li><li class="nav-item"><a href="/gengxin/" target="_self" title="æ´æ°">æ´æ°</a> <i class="underline"></i></li><li class="nav-item"><a href="/top/" target="_self" title="æè¡">æè¡</a> <i class="underline"></i></li><li class="nav-item"><a href="/sort/" target="_self" title="åç±»">åç±»</a> <i class="underline"></i></li><li class="nav-item"><a href="/news/zixun/" target="_self" title="èµè®¯">èµè®¯</a> <i class="underline"></i></li></ul></div></div></div></div></div></div></div><div class="acgn-container"><div class="acgn-dynamic-content"><div id="__acgn-virtual-coin__"><div class="acgn-virtual-coin" style="display:none"><div class="acgn-virtual-coin__user item"><div class="acgn-virtual-coin__tit">æ°ç¨æ·å¥å±</div><div class="acgn-virtual-coin__info">5000éå¸</div><div class="acgn-virtual-coin__desc">å·²å°è´¦</div></div><div class="acgn-virtual-coin__surprise item"><div class="acgn-virtual-coin__sub-tit">天éç¦å© ç漫å¨éæºé</div><div class="acgn-virtual-coin__info">688<span class="sub">éå¸</span></div><div class="acgn-virtual-coin__tips">éå¸å·²åæ¾ï¼è¯·æ¾å¿é
读ï¼</div></div><div class="acgn-virtual-coin__blood item"><div class="acgn-virtual-coin__sub-tit">éå¸ä¸å¤äºï¼ç漫å¨åéä½ </div><div class="acgn-virtual-coin__info">3000<span class="sub">éå¸</span></div><div class="acgn-virtual-coin__tips">éå¸å·²åæ¾ï¼è¯·æ¾å¿é
读ï¼</div></div></div></div><script>window.ACTIVITY_ADVERTISE_DATA=[],window.PAGE_TYPE="detail"</script></div><div class="acgn-clearfix" style="width:100%"><div class="acgn-col-24 acgn-col-space-none"><div class="acgn-model-detail-frontcover"><div class="frontcover-container"><img class="frontcover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106719_2_1.jpg"><div class="mask"></div><div class="cover-radian"></div><div class="acgn-row"><div class="acgn-col-24"><div class="content"><div class="description"><h1 class="title" title="好æ³åæä½ çè®°å¿æ¼«ç»">好æ³åæä½ çè®°å¿</h1><p class="tags"><span class="stag icon-detail-single">èªå¶</span> <a class="tag" target="_blank" href="/sort/shehui.html" title="社ä¼æ¼«ç»" class="normal">社ä¼</a> <a class="tag" target="_blank" href="/sort/lianai.html" title="æç±æ¼«ç»" class="normal">æç±</a> <a class="tag" target="_blank" href="/sort/shenghuo.html" title="ç活漫ç»" class="normal">çæ´»</a></p><div class="sort"><span>æ»äººæ° <em class="num">2906ä¸</em></span> <span>æå <em class="num">2579</em></span> <span><i class="ift-paihangxiajiangx"></i><em class="num">31</em></span> <span class="split">|</span> <span>å¨äººæ° <em class="num">4511</em></span> <span>æå <em class="num">2421</em></span> <span><i class="ift-paihangxiashengx"></i><em class="num">5</em></span></div></div><div class="act-btn"><span title="å¼å§é
读" class="btn btn-read read" data-source='{"chapter_id":"yg"}'><i class="ift-cat"></i>å¼å§é
读</span> <span title="继ç»é
读" style="display:none" class="btn btn-read read continue" data-source='{"chapter_id":"yg"}'><i class="ift-cat"></i>继ç»é
读<div class="continue-des acgn-hide"><span></span></div></span><span href="javascript:void(0)" class="btn btn-collect collect" data-source='{"comic_id":106719,"comic_name":"好æ³åæä½ çè®°å¿","last_chapter_id":"19","last_chapter_name":"æç»è¯ åï¼å®å
¨è¿·å¦¹","update_time":"1544233786000"}'><i class="ift-cat"></i> <i class="ift-aixin-line"></i> <span>æ¶è</span> </span><span class="btn btn-collect collected" title="å·²æ¶è" style="display:none" data-source='{"comic_id":106719,"comic_name":"好æ³åæä½ çè®°å¿","last_chapter_id":"19","last_chapter_name":"æç»è¯ åï¼å®å
¨è¿·å¦¹","update_time":"1544233786000"}'><i class="ift-cat"></i><i class="ift-aixin"></i> å·²æ¶è</span></div></div></div></div></div></div></div></div><div class="acgn-row"><div class="acgn-col-17 acgn-col-space-middle acgn-col-row"><div class="acgn-col-23 acgn-col-space-middle"><div class="acgn-model-detail-chapter acgn-space-small" id="detail-chapter"><div class="hd"><h2 class="title" title="ç®å½">ç®å½</h2><span>2018-12-08 æ´æ°è³ <a title="æç»è¯ åï¼å®å
¨è¿·å¦¹" class="last-update" target="_self" href="/106719/19.html"><em>æç»è¯ åï¼å®å
¨è¿·å¦¹</em></a></span><div class="page-bar"><div class="swith-bar"><span class="item text">æå</span><i class="split"></i><span class="item img-text active">å¾æ</span></div></div></div><div class="wave-down"></div><div class="bd"><ol class="chapter-list col-5 img-text" id="j_chapter_list"><li class="item" data-id="0" data-chapter="1562449"><a title="é¢å " href="/106719/yg.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/é¢åGQV/1.jpg-300x150.jpg" alt="é¢å "> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>é¢å</p></a></li><li class="item" data-id="1" data-chapter="1562558"><a title="第1è¯ ä½ è¦åä¸è¿é¢ç³åï¼ï¼" href="/106719/1.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/1è¯GQV/1.jpg-300x150.jpg" alt="第1è¯ ä½ è¦åä¸è¿é¢ç³åï¼ï¼"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第1è¯ ä½ è¦åä¸è¿é¢ç³åï¼ï¼</p></a></li><li class="item" data-id="2" data-chapter="1562727"><a title="第2è¯ éèç女è£
大佬ï¼ï¼" href="/106719/2.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/2è¯GQ/1.jpg-300x150.jpg" alt="第2è¯ éèç女è£
大佬ï¼ï¼"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第2è¯ éèç女è£
大佬ï¼ï¼</p></a></li><li class="item" data-id="3" data-chapter="1563131"><a title="第3è¯ ç²¾åç·ç¥" href="/106719/3.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/3è¯GQ/1.jpg-300x150.jpg" alt="第3è¯ ç²¾åç·ç¥"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第3è¯ ç²¾åç·ç¥</p></a></li><li class="item" data-id="4" data-chapter="1564421"><a title="第4è¯ è¿ä¸ªç±å¥½æç¹é£å¥" href="/106719/4.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/4è¯GQ/1.jpg-300x150.jpg" alt="第4è¯ è¿ä¸ªç±å¥½æç¹é£å¥"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第4è¯ è¿ä¸ªç±å¥½æç¹é£å¥</p></a></li><li class="item" data-id="5" data-chapter="1565024"><a title="第5è¯ æçå°äºï¼ä½ çè次ï¼" href="/106719/5.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/5è¯GQ/1.jpg-300x150.jpg" alt="第5è¯ æçå°äºï¼ä½ çè次ï¼"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第5è¯ æçå°äºï¼ä½ çè次ï¼</p></a></li><li class="item" data-id="6" data-chapter="1565429"><a title="第6è¯ è®°å¿æ·±å¤ç伤ç" href="/106719/6.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/6è¯GQ/1.jpg-300x150.jpg" alt="第6è¯ è®°å¿æ·±å¤ç伤ç"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第6è¯ è®°å¿æ·±å¤ç伤ç</p></a></li><li class="item" data-id="7" data-chapter="1565697"><a title="第7è¯ ä»åªè¦äºæ¬¡å
èå©ï¼" href="/106719/7.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/7è¯GQ/1.jpg-300x150.jpg" alt="第7è¯ ä»åªè¦äºæ¬¡å
èå©ï¼"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第7è¯ ä»åªè¦äºæ¬¡å
èå©ï¼</p></a></li><li class="item" data-id="8" data-chapter="1566788"><a title="第8è¯ å¨ä¹ä»çä¸ä¸¾ä¸å¨" href="/106719/8.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/8è¯GQ/1.jpg-300x150.jpg" alt="第8è¯ å¨ä¹ä»çä¸ä¸¾ä¸å¨"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第8è¯ å¨ä¹ä»çä¸ä¸¾ä¸å¨</p></a></li><li class="item" data-id="9" data-chapter="1568334"><a title="第9è¯ æ»¡è¶³ä½ çè¦æ±" href="/106719/9.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/9è¯GQV/1.jpg-300x150.jpg" alt="第9è¯ æ»¡è¶³ä½ çè¦æ±"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第9è¯ æ»¡è¶³ä½ çè¦æ±</p></a></li><li class="item" data-id="10" data-chapter="1569864"><a title="第10è¯ æ´å 令æå¿å¨çä»" href="/106719/10.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/10è¯GQ/1.jpg-300x150.jpg" alt="第10è¯ æ´å 令æå¿å¨çä»"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第10è¯ æ´å 令æå¿å¨çä»</p></a></li><li class="item" data-id="11" data-chapter="1571486"><a title="第11è¯ æ»ä¼æä¸ä¸ªäººæ¥åä½ " href="/106719/11.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/11è¯GQ/1.jpg-300x150.jpg" alt="第11è¯ æ»ä¼æä¸ä¸ªäººæ¥åä½ "> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第11è¯ æ»ä¼æä¸ä¸ªäººæ¥åä½ </p></a></li><li class="item" data-id="12" data-chapter="1572512"><a title="第12è¯ å¡åä¼çæ³¢ç¹" href="/106719/12.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/12è¯GQ/1.jpg-300x150.jpg" alt="第12è¯ å¡åä¼çæ³¢ç¹"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第12è¯ å¡åä¼çæ³¢ç¹</p></a></li><li class="item" data-id="13" data-chapter="1573818"><a title="第13è¯ ææ
æ·±ï¼ä¸å£é·" href="/106719/13.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/13è¯GQ/1.jpg-300x150.jpg" alt="第13è¯ ææ
æ·±ï¼ä¸å£é·"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第13è¯ ææ
æ·±ï¼ä¸å£é·</p></a></li><li class="item" data-id="14" data-chapter="1574665"><a title="第14è¯ æå°±æ¯æ³è·ä½ å¦" href="/106719/14.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/14è¯GQ/1.jpg-300x150.jpg" alt="第14è¯ æå°±æ¯æ³è·ä½ å¦"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第14è¯ æå°±æ¯æ³è·ä½ å¦</p></a></li><li class="item" data-id="15" data-chapter="1576205"><a title="第15è¯ åä½ èµ°å¨ä¸èµ·ï¼é£é½æ¯çç" href="/106719/15.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/15è¯GQ/1.jpg-300x150.jpg" alt="第15è¯ åä½ èµ°å¨ä¸èµ·ï¼é£é½æ¯çç"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第15è¯ åä½ èµ°å¨ä¸èµ·ï¼é£é½æ¯çç</p></a></li><li class="item" data-id="16" data-chapter="1578211"><a title="第16è¯ ä»å¤©å¼å§ï¼æè·ä½ 没å®ï¼" href="/106719/16.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/16è¯GQ/1.jpg-300x150.jpg" alt="第16è¯ ä»å¤©å¼å§ï¼æè·ä½ 没å®ï¼"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第16è¯ ä»å¤©å¼å§ï¼æè·ä½ 没å®ï¼</p></a></li><li class="item" data-id="17" data-chapter="1591370"><a title="第17è¯ è¢«ç·ç¥æ±äº" href="/106719/17.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/17è¯GQ/1.jpg-300x150.jpg" alt="第17è¯ è¢«ç·ç¥æ±äº"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第17è¯ è¢«ç·ç¥æ±äº</p></a></li><li class="item" data-id="18" data-chapter="1592282"><a title="第18è¯ ä¸æ³è®©ä½ åå§å±" href="/106719/18.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/18è¯GQ/1.jpg-300x150.jpg" alt="第18è¯ ä¸æ³è®©ä½ åå§å±"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>第18è¯ ä¸æ³è®©ä½ åå§å±</p></a></li><li class="item" data-id="19" data-chapter="1593070"><a title="æç»è¯ åï¼å®å
¨è¿·å¦¹" href="/106719/19.html" target="_self"><div class="img"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//mhpic.jumanhua.com/comic/H/好æ³åæä½ çè®°å¿/19è¯GQ/1.jpg-300x150.jpg" alt="æç»è¯ åï¼å®å
¨è¿·å¦¹"> <i class="j_chapter_badge"></i></div><p class="name"><i class="j_chapter_badge"></i>æç»è¯ åï¼å®å
¨è¿·å¦¹</p></a></li></ol></div></div></div><div class="acgn-col-23 acgn-col-space-middle"><div class="acgn-model-detail-statistic acgn-space-small"><div class="hd"><h3 class="title" title="æ¯æä½è
大大">æ¯æä½è
大大</h3></div><div class="bd"><i class="body-before"></i> <i class="body-after"></i><ul class="detail-box"><li class="item"><i class="icon-detail-read"></i><div class="detail"><span class="name" title="é
读">é
读</span> <span class="num">1984ä¸</span></div></li><li class="item"><i class="icon-detail-dayactive"></i><div class="detail"><span class="name" title="æ¥æ´»">æ¥æ´»</span> <span class="num">31.1ä¸</span></div></li><li class="item"><i class="icon-detail-collect"></i><div class="detail"><span class="name" title="æ¶è">æ¶è</span> <span class="num">22259</span></div></li><li class="item"><i class="icon-detail-share"></i><div class="detail"><span class="name" title="å享">å享</span> <span class="num">2363</span></div></li><li class="item"><i class="icon-detail-message"></i><div class="detail"><span class="name" title="çè¨">çè¨</span> <span class="num">2020</span></div></li><li class="item"><i class="icon-detail-gift"></i><div class="detail"><span class="name" title="礼ç©">礼ç©</span> <span class="num">52070</span></div></li><li class="item"><i class="icon-detail-appreciate"></i><div class="detail"><span class="name" title="èµèµ">èµèµ</span> <span class="num">11469</span></div></li><li class="item"><i class="icon-detail-monthticket"></i><div class="detail"><span class="name" title="æ票">æ票</span> <span class="num">1647</span></div></li><li class="item"><i class="icon-detail-recommend"></i><div class="detail"><span class="name" title="æ¨è">æ¨è</span> <span class="num">6271</span></div></li><li class="item"><i class="icon-detail-mark"></i><div class="detail"><span class="name" title="è¯å">è¯å</span> <span class="num">4.7</span></div></li></ul></div><div class="fans"><ul class="queue" data-comic_id="1078" id="j_fans_queue"></ul></div><div class="footer"><div class="btn-func" href="javascript:void(0)"><i class="icon-detail-leg"></i> ç»ä½è
å æ²¹æcall~<div class="menu-box"><div class="select-menu"><i class="icon-detail-triangle-down triangle"></i><ul><li class="item event-appreate"><div class="icon-detail-dbg-2"><i class="icon-detail-appreciate"></i></div><p class="name">èµèµ</p></li><li class="item event-present gift-item"><div class="gift-dialog"><div class="logo"><img src="//resource.mhxk.com/kanman_pc/static/images/detail/app_qrcode.png" alt=""></div><p class="text">æ±æï¼é礼ç©è¯·åå¾APPä¸æä½ï¼ç»æ¨å¸¦æ¥çä¸ä¾¿æ¬è¯·è°
解å¦~</p><p class="tips">æ«ç å³å¯ä¸è½½ç漫ç»App</p><span class="gift"></span></div><div class="icon-detail-dbg-3"><i class="icon-detail-gift"></i></div><p class="name">礼ç©</p></li><li class="item event-ticket"><div class="icon-detail-dbg-2"><i class="icon-detail-monthticket"></i></div><p class="name">æ票</p></li><li class="item event-feather"><div class="icon-detail-dbg-1"><i class="icon-detail-recommend"></i></div><p class="name">æ¨è</p></li><li class="item event-mark"><div class="icon-detail-dbg-4"><i class="icon-detail-mark"></i></div><p class="name">è¯å</p></li><li class="item event-share"><div class="icon-detail-dbg-3"><i class="icon-detail-share"></i></div><p class="name">å享</p></li></ul></div></div></div><p class="des">ä½è
大大éè¦æ¨çæ¯æ ã¾(â°â°â)ï¾ï¾</p></div></div></div><div class="acgn-col-23 acgn-col-space-middle"><div id="recommend" class="acgn-model acgn-model-detail-recommend acgn-space-small"><div class="model-head"><h3 class="title" title="ç¸å
³æ¨è">ç¸å
³æ¨è</h3><span class="change" title="æ¢ä¸æ¢"><i class="ift-loop-arrow"></i> æ¢ä¸æ¢</span></div><div class="model-content"><div class="swiper-area swiper-area-auto"><div class="swiper-container"><div class="swiper-wrapper"><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/94141/" target="_self" title="åé人ç" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/94141.jpg" alt="åé人ç,åé人ç漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="åé人ç" class="name"><a href="/94141/" target="_self" title="">åé人ç</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/104101/" target="_self" title="è´å½å® æ
:æ»è£çº³å½æ¥" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/104101.jpg" alt="è´å½å® æ
:æ»è£çº³å½æ¥,è´å½å® æ
:æ»è£çº³å½æ¥æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="è´å½å® æ
:æ»è£çº³å½æ¥" class="name"><a href="/104101/" target="_self" title="">è´å½å® æ
:æ»è£çº³å½æ¥</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/104912/" target="_self" title="æç±app" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/104912.jpg" alt="æç±app,æç±app漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æç±app" class="name"><a href="/104912/" target="_self" title="">æç±app</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/104999/" target="_self" title="æç±æçç" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/104999.jpg" alt="æç±æçç,æç±æçç漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æç±æçç" class="name"><a href="/104999/" target="_self" title="">æç±æçç</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/105033/" target="_self" title="å¢è¡ä¹å¤®" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105033.jpg" alt="å¢è¡ä¹å¤®,å¢è¡ä¹å¤®æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="å¢è¡ä¹å¤®" class="name"><a href="/105033/" target="_self" title="">å¢è¡ä¹å¤®</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/105407/" target="_self" title="å转å§ï¼å¥³ç¥å¤§äººï¼" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105407.jpg" alt="å转å§ï¼å¥³ç¥å¤§äººï¼,å转å§ï¼å¥³ç¥å¤§äººï¼æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="å转å§ï¼å¥³ç¥å¤§äººï¼" class="name"><a href="/105407/" target="_self" title="">å转å§ï¼å¥³ç¥å¤§äººï¼</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/105625/" target="_self" title="éè¢çæå¾ä¹é³" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105625.jpg" alt="éè¢çæå¾ä¹é³,éè¢çæå¾ä¹é³æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="éè¢çæå¾ä¹é³" class="name"><a href="/105625/" target="_self" title="">éè¢çæå¾ä¹é³</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/105681/" target="_self" title="éæ¥æµè¯æ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105681.jpg" alt="éæ¥æµè¯æ,éæ¥æµè¯æ漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="éæ¥æµè¯æ" class="name"><a href="/105681/" target="_self" title="">éæ¥æµè¯æ</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/105689/" target="_self" title="ç涩ç³æ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105689.jpg" alt="ç涩ç³æ,ç涩ç³æ漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="ç涩ç³æ" class="name"><a href="/105689/" target="_self" title="">ç涩ç³æ</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106136/" target="_self" title="åç¾APP:ä¸å¥³éè¢æ³å" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106136.jpg" alt="åç¾APP:ä¸å¥³éè¢æ³å,åç¾APP:ä¸å¥³éè¢æ³å漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="åç¾APP:ä¸å¥³éè¢æ³å" class="name"><a href="/106136/" target="_self" title="">åç¾APP:ä¸å¥³éè¢æ³å</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106154/" target="_self" title="çèè" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106154.jpg" alt="çèè,çèè漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="çèè" class="name"><a href="/106154/" target="_self" title="">çèè</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106166/" target="_self" title="ä»0å°1çéç" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106166.jpg" alt="ä»0å°1çéç,ä»0å°1çéç漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="ä»0å°1çéç" class="name"><a href="/106166/" target="_self" title="">ä»0å°1çéç</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106186/" target="_self" title="ç¼æ§æ»è£çé
ææ°å¨" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106186.jpg" alt="ç¼æ§æ»è£çé
ææ°å¨,ç¼æ§æ»è£çé
ææ°å¨æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="ç¼æ§æ»è£çé
ææ°å¨" class="name"><a href="/106186/" target="_self" title="">ç¼æ§æ»è£çé
ææ°å¨</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106196/" target="_self" title="æ»è£çä¸å±ç©ºå§" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106196.jpg" alt="æ»è£çä¸å±ç©ºå§,æ»è£çä¸å±ç©ºå§æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æ»è£çä¸å±ç©ºå§" class="name"><a href="/106196/" target="_self" title="">æ»è£çä¸å±ç©ºå§</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106198/" target="_self" title="å°å¥³åéå«ä¸å¯" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106198.jpg" alt="å°å¥³åéå«ä¸å¯,å°å¥³åéå«ä¸å¯æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="å°å¥³åéå«ä¸å¯" class="name"><a href="/106198/" target="_self" title="">å°å¥³åéå«ä¸å¯</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x4"><a href="/106298/" target="_self" title="æçæ ¡èæ¯çæ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106298.jpg" alt="æçæ ¡èæ¯çæ,æçæ ¡èæ¯çæ漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æçæ ¡èæ¯çæ" class="name"><a href="/106298/" target="_self" title="">æçæ ¡èæ¯çæ</a></h3></div></div></li></ul></div></div></div></div></div></div></div></div><div class="acgn-col-23 acgn-col-space-middle"><div id="recommend" class="acgn-model acgn-model-detail-recommend-2 acgn-space-small"><div class="model-head"><h3 class="title" title="çä½ å欢">çä½ å欢</h3><span class="change" title="æ¢ä¸æ¢"><i class="ift-loop-arrow"></i> æ¢ä¸æ¢</span></div><div class="model-content"><div class="swiper-area swiper-area-auto"><div class="swiper-container"><div class="swiper-wrapper"><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/5323/" target="_self" title="ç¥å°ç座" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/5323_2_1.jpg" alt="ç¥å°ç座,ç¥å°ç座漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="ç¥å°ç座" class="name"><a href="/5323/" target="_self" title="">ç¥å°ç座</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/8842/" target="_self" title="寻æ¾åä¸ä¹æ
" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/8842_2_1.jpg" alt="寻æ¾åä¸ä¹æ
,寻æ¾åä¸ä¹æ
漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="寻æ¾åä¸ä¹æ
" class="name"><a href="/8842/" target="_self" title="">寻æ¾åä¸ä¹æ
</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/9033/" target="_self" title="è¡æç¦å" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/9033_2_1.jpg" alt="è¡æç¦å,è¡æç¦å漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="è¡æç¦å" class="name"><a href="/9033/" target="_self" title="">è¡æç¦å</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/25933/" target="_self" title="æç½å¤§é" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/25933_2_1.jpg" alt="æç½å¤§é,æç½å¤§é漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æç½å¤§é" class="name"><a href="/25933/" target="_self" title="">æç½å¤§é</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/27417/" target="_self" title="å¦ç¥è®°" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/27417_2_1.jpg" alt="å¦ç¥è®°,å¦ç¥è®°æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="å¦ç¥è®°" class="name"><a href="/27417/" target="_self" title="">å¦ç¥è®°</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/100144/" target="_self" title="çå¸çç¬ç女" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/100144_2_1.jpg" alt="çå¸çç¬ç女,çå¸çç¬ç女漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="çå¸çç¬ç女" class="name"><a href="/100144/" target="_self" title="">çå¸çç¬ç女</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/102433/" target="_self" title="éç豪é¨ä¹å¼ºå¿å½æ¥" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/102433_2_1.jpg" alt="éç豪é¨ä¹å¼ºå¿å½æ¥,éç豪é¨ä¹å¼ºå¿å½æ¥æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="éç豪é¨ä¹å¼ºå¿å½æ¥" class="name"><a href="/102433/" target="_self" title="">éç豪é¨ä¹å¼ºå¿å½æ¥</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/104754/" target="_self" title="ä¸å«æ»è£å«ç·ä»" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/104754_2_1.jpg" alt="ä¸å«æ»è£å«ç·ä»,ä¸å«æ»è£å«ç·ä»æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="ä¸å«æ»è£å«ç·ä»" class="name"><a href="/104754/" target="_self" title="">ä¸å«æ»è£å«ç·ä»</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/105143/" target="_self" title="æ被æ»è£é»ä¸äºï¼" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105143_2_1.jpg" alt="æ被æ»è£é»ä¸äºï¼,æ被æ»è£é»ä¸äºï¼æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æ被æ»è£é»ä¸äºï¼" class="name"><a href="/105143/" target="_self" title="">æ被æ»è£é»ä¸äºï¼</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106014/" target="_self" title="ä¸é¢çç·æè¦äº" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106014_2_1.jpg" alt="ä¸é¢çç·æè¦äº,ä¸é¢çç·æè¦äºæ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="ä¸é¢çç·æè¦äº" class="name"><a href="/106014/" target="_self" title="">ä¸é¢çç·æè¦äº</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106026/" target="_self" title="çä¸å¸å" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106026_2_1.jpg" alt="çä¸å¸å,çä¸å¸å漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="çä¸å¸å" class="name"><a href="/106026/" target="_self" title="">çä¸å¸å</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106141/" target="_self" title="满æææ¦å«æ¨æ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106141_2_1.jpg" alt="满æææ¦å«æ¨æ,满æææ¦å«æ¨æ漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="满æææ¦å«æ¨æ" class="name"><a href="/106141/" target="_self" title="">满æææ¦å«æ¨æ</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106266/" target="_self" title="å²è±å§ææè®°" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106266_2_1.jpg" alt="å²è±å§ææè®°,å²è±å§ææ记漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="å²è±å§ææè®°" class="name"><a href="/106266/" target="_self" title="">å²è±å§ææè®°</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106273/" target="_self" title="çå¦çå©åæå" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106273_2_1.jpg" alt="çå¦çå©åæå,çå¦çå©åæå漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="çå¦çå©åæå" class="name"><a href="/106273/" target="_self" title="">çå¦çå©åæå</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106303/" target="_self" title="éªççç»ä¸æ¯å¦" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106303_2_1.jpg" alt="éªççç»ä¸æ¯å¦,éªççç»ä¸æ¯å¦æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="éªççç»ä¸æ¯å¦" class="name"><a href="/106303/" target="_self" title="">éªççç»ä¸æ¯å¦</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106306/" target="_self" title="女å»è¾å¤·ä¼ " class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106306_2_1.jpg" alt="女å»è¾å¤·ä¼ ,女å»è¾å¤·ä¼ 漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="女å»è¾å¤·ä¼ " class="name"><a href="/106306/" target="_self" title="">女å»è¾å¤·ä¼ </a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106368/" target="_self" title="è¿ä¸ªè´µå¦æç¹é£" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106368_2_1.jpg" alt="è¿ä¸ªè´µå¦æç¹é£,è¿ä¸ªè´µå¦æç¹é£æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="è¿ä¸ªè´µå¦æç¹é£" class="name"><a href="/106368/" target="_self" title="">è¿ä¸ªè´µå¦æç¹é£</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/106400/" target="_self" title="æ强å¦å½" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106400_2_1.jpg" alt="æ强å¦å½,æ强å¦å½æ¼«ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æ强å¦å½" class="name"><a href="/106400/" target="_self" title="">æ强å¦å½</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/25934/" target="_self" title="æç ´è穹" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/25934_2_1.jpg" alt="æç ´è穹,æç ´è穹漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æç ´è穹" class="name"><a href="/25934/" target="_self" title="">æç ´è穹</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-3x2"><a href="/25933/" target="_self" title="æç½å¤§é" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/25933_2_1.jpg" alt="æç½å¤§é,æç½å¤§é漫ç»"><div class="wave"></div></a></div><div class="info"><h3 title="æç½å¤§é" class="name"><a href="/25933/" target="_self" title="">æç½å¤§é</a></h3></div></div></li></ul></div></div></div></div></div></div></div></div><div class="acgn-col-24 acgn-col-space-middle"><div id="m_318527_1070_1307" class="acgn-model acgn-model-cms-recommend acgn-space-normal" data-func-floatnav=""><div class="model-content"><div class="swiper-area swiper-area-auto"><div class="swiper-container"><div class="swiper-wrapper"></div></div></div></div></div></div><div class="acgn-col-23 acgn-col-space-middle"><div id="comments" class="acgn-model acgn-model-detail-comment"><div class="model-head"><h3 class="comment-title title">漫è¯</h3></div><div class="model-content"><div id="COMMENT" data-ssid="106719" data-title="好æ³åæä½ çè®°å¿"></div></div></div></div></div><div class="acgn-col-7 acgn-col-space-middle acgn-col-row"><div class="acgn-col-24 acgn-col-space-middle"><div class="acgn-model acgn-model-detail-introduce acgn-space-small"><div class="acgn-new-hd"><span class="switch mhjj active" title="漫ç»ç®ä»">漫ç»ç®ä»</span> <span class="split"></span> <span class="switch zzjs" title="ä½è
è§è²">ä½è
è§è²</span></div><div class="acgn-new-bd"><div class="mhjj active"><div class="img-box"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" alt="好æ³åæä½ çè®°å¿æ¼«ç»" data-src="//image.yqmh.com/mh/106719.jpg"></div><div class="update-info"><i class="icon-detail-tick"></i><p class="status">å®ç»<span class="spot">·</span></p><p class="update-date">æ¯å¨ä¸ãå
æ´æ°</p><div class="auth-message">taå¾æï¼ä»ä¹ä¹æ²¡æçä¸~</div></div><div class="introduce"><h2 class="title">æ
äºç®ä»</h2><div class="desc-box"><div class="content">ãç¬å®¶/æ¯å¨ä¸ãå
æ´æ°ã女主åä¸ç¥ç§çè®°å¿ç³æï¼æåæ¥è¿äºææçç·ç¥ãå¨ç·ç¥è®°å¿ä¸ï¼çå°äºè®¸å¤ç§å¯å伤çï¼å³å®å¸®å©ç·ä¸»è§£å¼å¿ç»ãç¶èå½è®°å¿ç³æä¹è½å
¥ä»äººæä¸æ¶ï¼å¼å§å¼åäºä¸äºåæ¶æãè®°å¿ç³ææ¯å¥½æ¯åï¼åå°å¦ä½æ½ææ¶æã</div></div></div></div><div class="zzjs"><div class="swiper-box"><div class="adapt-box"><div class="adapt-ratio-4x3"></div><div class="adapt-content"><div class="swiper-area"><div class="swiper-container"><div class="swiper-wrapper"><div class="swiper-slide"><div class="pic"><img alt="äºæ¬¡å
å¨æ¼«" class="pic-cover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="http://head.samanlehua.com/kmh_user_head/064/110/610.jpg-100x100"></div><a href="/106719/zuozhe/387358/" style="display:none"></a></div><div class="swiper-slide"><div class="pic"><img alt="次å
æ¶ä»£" class="pic-cover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="http://head.samanlehua.com/kmh_user_head/066/044/162.jpg-100x100"></div><a href="/106719/zuozhe/496320/" style="display:none"></a></div><div class="swiper-slide"><div class="pic"><img alt="ç½åä¸" class="pic-cover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="http://head.samanlehua.com/kmh_user_head/066/039/150.jpg-100x100"></div><a href="/106719/juese/496114/" style="display:none"></a></div><div class="swiper-slide"><div class="pic"><img alt="æäºé¹¤" class="pic-cover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="http://head.samanlehua.com/kmh_user_head/066/039/152.jpg-100x100"></div><a href="/106719/juese/496115/" style="display:none"></a></div><div class="swiper-slide"><div class="pic"><img alt="çæç" class="pic-cover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="http://head.samanlehua.com/kmh_user_head/066/039/143.jpg-100x100"></div><a href="/106719/juese/496112/" style="display:none"></a></div><div class="swiper-slide"><div class="pic"><img alt="å¨æ墨" class="pic-cover" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="http://head.samanlehua.com/kmh_user_head/066/039/147.jpg-100x100"></div><a href="/106719/juese/496113/" style="display:none"></a></div></div></div></div></div></div></div><div class="introduce-box" data-index="0"><div class="username"><a href="/106719/zuozhe/387358/" title="äºæ¬¡å
å¨æ¼«" target="_blank">äºæ¬¡å
å¨æ¼« | å
±æ <span class="num">132</span> é¨ä½å</a></div><div class="desc"><div class="title">ç®ä»</div><div class="desc-box"><div class="content">æé½äºæ¬¡å
å¨æ¼«æéå
¬å¸æ¯ä¸å®¶äºèç½å
¬å¸ã主è¦åæ£ç漫ç»ç½ç«ä»¥å漫ç»appé
读ï¼åæ¯å¯è§ãä»äºå¨æ¼«è¡ä¸åä½å¹´ï¼ä¸å
ç¥ååçï¼ä¸BATçå大äºèç½å·¨å¤´åæåä½ï¼å¹¶å·²æéæ´ä¸ªäº§ä¸é¾ï¼çå©è¯å¥½ã</div></div></div></div><div class="introduce-box acgn-hide" data-index="1"><div class="username"><a href="/106719/zuozhe/496320/" title="次å
æ¶ä»£" target="_blank">次å
æ¶ä»£ | å
±æ <span class="num">1</span> é¨ä½å</a></div><div class="desc"><div class="title">ç®ä»</div><div class="desc-box"><div class="content">次å
æ¶ä»£æ¯ä¸å®¶ååäºæ¬¡å
å
容平å°ï¼æ¥æ漫ç»åè½»å°è¯´ä¸¤å¤§æ¨¡åï¼éåäºå½å
æä¼ç§çäºæ¬¡å
ååå
容ï¼æ¯ååç±»åå°å¥³æ¼«ç»ç人æ°å¹³å°ã</div></div></div></div><div class="introduce-box acgn-hide" data-index="2"><div class="username"><a href="/106719/juese/496114/" title="ç½åä¸" target="_blank">ç½åä¸</a></div><div class="desc"><div class="title">ç®ä»</div><div class="desc-box"><div class="content">ä»å°å¼å§ï¼å 为èªå·±å欢ç©æ¸¸æ追å§åºæ¬ä¸èå
¥å¤§å®¶çååï¼å¯æç·äºéªç她ï¼æ以å¾éè§ç·äºè¿ä»½åæ
ãå 为é«ä¸è¿æ°æä¼æ¶ï¼çå°ç·ä¸»ç表æ¼æå¨äºèªå·±ï¼èææäºç·ä¸»ãç¶æ¯ç»è¥çæ®éççååºï¼å®¶åºå¾æ¸©é¦¨ç¾å¥½ã</div></div></div></div><div class="introduce-box acgn-hide" data-index="3"><div class="username"><a href="/106719/juese/496115/" title="æäºé¹¤" target="_blank">æäºé¹¤</a></div><div class="desc"><div class="title">ç®ä»</div><div class="desc-box"><div class="content">æ¯ä¸ªæ·±èä¸æ¼çäºæ¬¡å
å®
ï¼å¥³è£
大佬ï¼å¨é«ä¸æ ¡åçèµ·æ¥å¾ç°å
å¾é³å
ï¼å±å好ä¼ä¹å¨ï¼é³ä¹ç»äºä»èªä¿¡ãæ¯äº²å继ç¶çæ´»å¨å½å¤ï¼åºæ¬å¯¹ç·ä¸»æ¾å
»ãç·ä¸»ä¸ç´è§å¾æ²¡æ人ä¼å¨ç¥éä»äºæ¬¡å
ä¸é¢åè¿è½æ¥åä»ãç·ä¸»æ¯äº²æ¯åºåçæè£
设计å¸ï¼ç·ä¸»ä¹å æ¤æè¿·æä¸å¥³è£
ï¼æ¯äº²å¹¶æ²¡æé»æ¢ç·ä¸»ï¼ä½æ¯ç¶äº²å´å¾æç»ï¼å æ¤ç¶æ¯ç¦»å¼ï¼æ¯äº²åæ¥æ¹å«ç»ä¸ä½å¤å½äººå¸¸å±
å·´é»ã</div></div></div></div><div class="introduce-box acgn-hide" data-index="4"><div class="username"><a href="/106719/juese/496112/" title="çæç" target="_blank">çæç</a></div><div class="desc"><div class="title">ç®ä»</div><div class="desc-box"><div class="content">女主宿åä¹ä¸ï¼å欢åç¾é£åå享大家ä¸èµ·åï¼å æ¤åç·ç欢è¿ï¼å 为æä¹é½åä¸èçä½è´¨ï¼è¢«å¥³çææ¤ãç·ä¸»è½ç¶ä¸å欢çé£ï¼ä½ç»å¸¸é¼å±å¥¹ï¼ç»äºäºå¥¹å¾å¤å¸®å©ï¼å æ¤å¾ææ¿ç·ä¸»ãå欢éæ²é·çç·äºç©ï¼å¶å°ä¹ä¼åé»ææçç©ãå¨å®¿èå
»äºä¸åªé¸åå½å® ç©ã</div></div></div></div><div class="introduce-box acgn-hide" data-index="5"><div class="username"><a href="/106719/juese/496113/" title="å¨æ墨" target="_blank">å¨æ墨</a></div><div class="desc"><div class="title">ç®ä»</div><div class="desc-box"><div class="content">家å¢å¾å¥½ï¼ä½æ¯è®¨å家ä¸å©ç纷äºãå 为æ绩å¾å¥½ï¼å®¶äººå¹¶ä¸å¨æä»å«çäºãå 为æ绩å¾å¥½ï¼å®¶äººå¹¶ä¸å¨æä»å«çäºãå¨å¦æ ¡é¤äºå¥³ä¸»ï¼ä¸æä¹æ¥è§¦å
¶ä»äººï¼çèµ·æ¥åæ¯æ»è¯»ä¹¦,å 为ä¸ææ¶æ¾ææ®èªå·±ï¼æ»æ¯å¾éæï¼æ以ä¹æ»æ¯è¢«äººè®®è®ºãæ»æ¯è¢«æ´»æ³¼ä¹å¤©ç女äºéä¹ï¼å欢她ççåä¸åä½ã</div></div></div></div></div></div></div></div><div class="acgn-col-24 acgn-col-space-middle"><div class="acgn-model-detail-contribution acgn-space-small"><div class="hd">ç²ä¸è´¡ç®æ¦</div><div class="bd"><ul class="top3"><li class="item no-1"><a rel="nofollow" href="/user/41048123.html" target="_blank" title="è¬ç±é£å°"><img class="head-img" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//head.samanlehua.com/kmh_user_head/041/048/123.jpg-100x100.jpg" alt="è¬ç±é£å°"></a><div class="user-info"><div><a rel="nofollow" href="/user/41048123.html" target="_blank" title="è¬ç±é£å°"><span class="username" title="è¬ç±é£å°">è¬ç±é£å°</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV5</span></div></div><div class="contribute"><span>è´¡ç®å¼ </span> <span>17.3ä¸</span></div></div><i class="icon-detail-cup-no1 cup"></i></li><li class="item no-2"><a rel="nofollow" href="/user/59224034.html" target="_blank" title="User_9WygK4d8I0"><img class="head-img" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//head.samanlehua.com/kmh_user_head/059/224/034.jpg-100x100.jpg" alt="User_9WygK4d8I0"></a><div class="user-info"><div><a rel="nofollow" href="/user/59224034.html" target="_blank" title="User_9WygK4d8I0"><span class="username" title="User_9WygK4d8I0">User_9WygK4d8I0</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV1</span></div></div><div class="contribute"><span>è´¡ç®å¼ </span> <span>10.6ä¸</span></div></div><i class="icon-detail-cup-no2 cup"></i></li><li class="item no-3"><a rel="nofollow" href="/user/61405444.html" target="_blank" title="Phaertiy"><img class="head-img" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//head.samanlehua.com/kmh_user_head/061/405/444.jpg-100x100.jpg" alt="Phaertiy"></a><div class="user-info"><div><a rel="nofollow" href="/user/61405444.html" target="_blank" title="Phaertiy"><span class="username" title="Phaertiy">Phaertiy</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV1</span></div></div><div class="contribute"><span>è´¡ç®å¼ </span> <span>10.4ä¸</span></div></div><i class="icon-detail-cup-no3 cup"></i></li></ul><ul class="normal-list"><li class="item"><a rel="nofollow" href="/user/64352110.html" target="_blank" title="Vv__64352110" class="username"><span class="num">4</span><span title="Vv__64352110">Vv__64352110</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV4</span></div><span class="contribute">91130</span></li><li class="item"><a rel="nofollow" href="/user/41624028.html" target="_blank" title="å¸é±¼OX" class="username"><span class="num">5</span><span title="å¸é±¼OX">å¸é±¼OX</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV7</span></div><span class="contribute">48990</span></li><li class="item"><a rel="nofollow" href="/user/47782130.html" target="_blank" title="1s-Yä»" class="username"><span class="num">6</span><span title="1s-Yä»">1s-Yä»</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV3</span></div><span class="contribute">46150</span></li><li class="item"><a rel="nofollow" href="/user/6450295.html" target="_blank" title="å¯å½å½" class="username"><span class="num">7</span><span title="å¯å½å½">å¯å½å½</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV6</span></div><span class="contribute">33700</span></li><li class="item"><a rel="nofollow" href="/user/43161998.html" target="_blank" title="å
å¹´ä¹å" class="username"><span class="num">8</span><span title="å
å¹´ä¹å">å
å¹´ä¹å</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV20</span></div><span class="contribute">28890</span></li><li class="item"><a rel="nofollow" href="/user/11012314.html" target="_blank" title="ææ¯å¤§äººåéæ·¡" class="username"><span class="num">9</span><span title="ææ¯å¤§äººåéæ·¡">ææ¯å¤§äººåéæ·¡</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV8</span></div><span class="contribute">26920</span></li><li class="item"><a rel="nofollow" href="/user/3581786.html" target="_blank" title="欣933" class="username"><span class="num">10</span><span title="欣933">欣933</span></a><div class="level"><i class="ift-dengjix"></i><span class="level-num">LV16</span></div><span class="contribute">26120</span></li></ul></div></div></div><div class="acgn-col-24 acgn-col-space-middle"><div class="acgn-model acgn-model-detail-rank acgn-space-small"><div class="model-head"><h3 class="title">综åæ¦</h3><div class="tab-area"><div class="tabs-underline"><div class="tab active" data-type="week">å¨<div class="line"></div></div><div class="tab" data-type="month">æ<div class="line"></div></div><div class="tab" data-type="total">æ»<div class="line"></div></div></div></div></div><div class="model-content"><div class="area"><div data-type="week" class="block-container active"><ul class="rank-list"></ul></div><div data-type="month" class="block-container"><ul class="rank-list"></ul></div><div data-type="all" class="block-container"><ul class="rank-list"></ul></div></div></div></div></div><div class="acgn-col-24 acgn-col-space-middle"><div class="acgn-model acgn-model-detail-review acgn-space-small"><div class="model-head"><h3 class="title" title="çäºåç">çäºåç</h3><span class="change" title="æ¢ä¸æ¢"><i class="ift-loop-arrow"></i> æ¢ä¸æ¢</span></div><div class="model-content"><div class="swiper-area swiper-area-auto"><div class="swiper-container"><div class="swiper-wrapper"><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/8131/" target="_self" title="åå¶æ¨±å" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/8131_2_1.jpg" alt="åå¶æ¨±å,åå¶æ¨±å漫ç»"></a></div><div class="info"><h3 title="åå¶æ¨±å" class="name"><a href="/8131/" target="_self" title="">åå¶æ¨±å</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/9299/" target="_self" title="å¿ä¸ç±ä¸½ä¸" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/9299_2_1.jpg" alt="å¿ä¸ç±ä¸½ä¸,å¿ä¸ç±ä¸½ä¸æ¼«ç»"></a></div><div class="info"><h3 title="å¿ä¸ç±ä¸½ä¸" class="name"><a href="/9299/" target="_self" title="">å¿ä¸ç±ä¸½ä¸</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/11440/" target="_self" title="å¿å·æ¶æ¼ª" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/11440_2_1.jpg" alt="å¿å·æ¶æ¼ª,å¿å·æ¶æ¼ªæ¼«ç»"></a></div><div class="info"><h3 title="å¿å·æ¶æ¼ª" class="name"><a href="/11440/" target="_self" title="">å¿å·æ¶æ¼ª</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/82917/" target="_self" title="åµçåæ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/82917_2_1.jpg" alt="åµçåæ,åµçåæ漫ç»"></a></div><div class="info"><h3 title="åµçåæ" class="name"><a href="/82917/" target="_self" title="">åµçåæ</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/87120/" target="_self" title="æ强ç¥ç¼" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/87120_2_1.jpg" alt="æ强ç¥ç¼,æ强ç¥ç¼æ¼«ç»"></a></div><div class="info"><h3 title="æ强ç¥ç¼" class="name"><a href="/87120/" target="_self" title="">æ强ç¥ç¼</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/93621/" target="_self" title="ä¸æåä¸" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/93621_2_1.jpg" alt="ä¸æåä¸,ä¸æåä¸æ¼«ç»"></a></div><div class="info"><h3 title="ä¸æåä¸" class="name"><a href="/93621/" target="_self" title="">ä¸æåä¸</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/93919/" target="_self" title="ççæ ¡è" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/93919_2_1.jpg" alt="ççæ ¡è,ççæ ¡è漫ç»"></a></div><div class="info"><h3 title="ççæ ¡è" class="name"><a href="/93919/" target="_self" title="">ççæ ¡è</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/99326/" target="_self" title="çèå½æ
" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/99326_2_1.jpg" alt="çèå½æ
,çèå½æ
漫ç»"></a></div><div class="info"><h3 title="çèå½æ
" class="name"><a href="/99326/" target="_self" title="">çèå½æ
</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/104537/" target="_self" title="Butterfly" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/104537_2_1.jpg" alt="Butterfly,Butterfly漫ç»"></a></div><div class="info"><h3 title="Butterfly" class="name"><a href="/104537/" target="_self" title="">Butterfly</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/105074/" target="_self" title="é¸éæ ¡èçæ½ä¸«å¤´" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105074_2_1.jpg" alt="é¸éæ ¡èçæ½ä¸«å¤´,é¸éæ ¡èçæ½ä¸«å¤´æ¼«ç»"></a></div><div class="info"><h3 title="é¸éæ ¡èçæ½ä¸«å¤´" class="name"><a href="/105074/" target="_self" title="">é¸éæ ¡èçæ½ä¸«å¤´</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/105429/" target="_self" title="ä¸å½ä¼ ç»èä¿" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105429_2_1.jpg" alt="ä¸å½ä¼ ç»èä¿,ä¸å½ä¼ ç»èä¿æ¼«ç»"></a></div><div class="info"><h3 title="ä¸å½ä¼ ç»èä¿" class="name"><a href="/105429/" target="_self" title="">ä¸å½ä¼ ç»èä¿</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/105509/" target="_self" title="æçä¿è" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105509_2_1.jpg" alt="æçä¿è,æçä¿è漫ç»"></a></div><div class="info"><h3 title="æçä¿è" class="name"><a href="/105509/" target="_self" title="">æçä¿è</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/105918/" target="_self" title="å½ä»é临" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105918_2_1.jpg" alt="å½ä»é临,å½ä»é临漫ç»"></a></div><div class="info"><h3 title="å½ä»é临" class="name"><a href="/105918/" target="_self" title="">å½ä»é临</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/105984/" target="_self" title="人质æ人" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/105984_2_1.jpg" alt="人质æ人,人质æ人漫ç»"></a></div><div class="info"><h3 title="人质æ人" class="name"><a href="/105984/" target="_self" title="">人质æ人</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106022/" target="_self" title="æçæ ¡èä¸å¯è½è¿ä¹è" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106022_2_1.jpg" alt="æçæ ¡èä¸å¯è½è¿ä¹è,æçæ ¡èä¸å¯è½è¿ä¹è漫ç»"></a></div><div class="info"><h3 title="æçæ ¡èä¸å¯è½è¿ä¹è" class="name"><a href="/106022/" target="_self" title="">æçæ ¡èä¸å¯è½è¿ä¹è</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106176/" target="_self" title="è¿ä¸ªç«å¦ä¸å¥½æ¹" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106176_2_1.jpg" alt="è¿ä¸ªç«å¦ä¸å¥½æ¹,è¿ä¸ªç«å¦ä¸å¥½æ¹æ¼«ç»"></a></div><div class="info"><h3 title="è¿ä¸ªç«å¦ä¸å¥½æ¹" class="name"><a href="/106176/" target="_self" title="">è¿ä¸ªç«å¦ä¸å¥½æ¹</a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106262/" target="_self" title="éå©èç±ï¼åæ§èå
¬å® ä¸ç¾" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106262_2_1.jpg" alt="éå©èç±ï¼åæ§èå
¬å® ä¸ç¾,éå©èç±ï¼åæ§èå
¬å® ä¸ç¾æ¼«ç»"></a></div><div class="info"><h3 title="éå©èç±ï¼åæ§èå
¬å® ä¸ç¾" class="name"><a href="/106262/" target="_self" title="">éå©èç±ï¼åæ§èå
¬å® ä¸ç¾</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106333/" target="_self" title="æµ
å¤åé¨" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106333_2_1.jpg" alt="æµ
å¤åé¨,æµ
å¤åé¨æ¼«ç»"></a></div><div class="info"><h3 title="æµ
å¤åé¨" class="name"><a href="/106333/" target="_self" title="">æµ
å¤åé¨</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106337/" target="_self" title="æ ¡èå¿
é¡»è¦ç±æ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106337_2_1.jpg" alt="æ ¡èå¿
é¡»è¦ç±æ,æ ¡èå¿
é¡»è¦ç±æ漫ç»"></a></div><div class="info"><h3 title="æ ¡èå¿
é¡»è¦ç±æ" class="name"><a href="/106337/" target="_self" title="">æ ¡èå¿
é¡»è¦ç±æ</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106382/" target="_self" title="åé¢èå¸çå¤é´è¡¥ä¹ " class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106382_2_1.jpg" alt="åé¢èå¸çå¤é´è¡¥ä¹ ,åé¢èå¸çå¤é´è¡¥ä¹ 漫ç»"></a></div><div class="info"><h3 title="åé¢èå¸çå¤é´è¡¥ä¹ " class="name"><a href="/106382/" target="_self" title="">åé¢èå¸çå¤é´è¡¥ä¹ </a></h3></div></div></li></ul></div></div><div class="swiper-slide"><div class="brace-wrap"><ul class="brace-x"><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106406/" target="_self" title="éä½ææ" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106406_2_1.jpg" alt="éä½ææ,éä½ææ漫ç»"></a></div><div class="info"><h3 title="éä½ææ" class="name"><a href="/106406/" target="_self" title="">éä½ææ</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/106490/" target="_self" title="å¦é¸å¥å¥è½¬åä¸" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/106490_2_1.jpg" alt="å¦é¸å¥å¥è½¬åä¸,å¦é¸å¥å¥è½¬åä¸æ¼«ç»"></a></div><div class="info"><h3 title="å¦é¸å¥å¥è½¬åä¸" class="name"><a href="/106490/" target="_self" title="">å¦é¸å¥å¥è½¬åä¸</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/25934/" target="_self" title="æç ´è穹" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/25934_2_1.jpg" alt="æç ´è穹,æç ´è穹漫ç»"></a></div><div class="info"><h3 title="æç ´è穹" class="name"><a href="/25934/" target="_self" title="">æç ´è穹</a></h3></div></div></li><li class="size-cell"><div class="comic-cell pic-wave"><div class="adapt-ratio-2x1"><a href="/25933/" target="_self" title="æç½å¤§é" class="pic adapt-inner"><img class="bg" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="//image.yqmh.com/mh/25933_2_1.jpg" alt="æç½å¤§é,æç½å¤§é漫ç»"></a></div><div class="info"><h3 title="æç½å¤§é" class="name"><a href="/25933/" target="_self" title="">æç½å¤§é</a></h3></div></div></li></ul></div></div></div></div></div></div></div></div></div></div></div><div class="acgn-clearfix" style="width:100%"><div class="acgn-col-24 acgn-col-space-none"><div id="m_2167_1093_1162" class="acgn-model acgn-model-footer" data-func-floatnav=""><div class="star-tree"><img src="//resource.mhxk.com/kanman_pc/static/images/comm/star-tree.gif" alt=""></div><div class="footer-content acgn-clearfix"><div class="footer-left"><ul class="link-list"><li class="link-item link"> </li><li class="link-item link"><a ref="nofollow" href="/about/409271.html" target="_blank" title="å
³äºç漫">å
³äºç漫</a></li><li class="link-item link"><a ref="nofollow" href="/sitemap/index.html" target="_blank" title="ç½ç«å°å¾">ç½ç«å°å¾</a></li></ul><ul class="link-list"><li class="link-item link"><a ref="nofollow" href="/about/409898.html" target="_blank" title="åä½é®ç">åä½é®ç</a></li><li class="link-item link"><a ref="nofollow" href="/about/409272.html" target="_blank" title="æ³å¾å£°æ">æ³å¾å£°æ</a></li><li class="link-item link"><a ref="nofollow" href="javascript:void(0);" title="å å
¥æ们">å å
¥æ们</a></li></ul><ul class="link-list"><li class="link-item link"><a ref="nofollow" href="/about/409274.html" target="_blank" title="çæåä½">çæåä½</a></li><li class="link-item link"><a ref="nofollow" href="/about/409275.html" target="_blank" title="æ稿æå">æ稿æå</a></li><li class="link-item link"><a ref="nofollow" href="/about/409276.html" target="_blank" title="ç¨æ·åè®®">ç¨æ·åè®®</a></li></ul></div><div class="footer-center"><div class="code-block"><img class="qr-code" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="https://cms.samanlehua.com/cms/wangbaodong/71a95250-2568-11ea-b3f5-33f476e04f27.png" alt="ä¸è½½å®¢æ·ç«¯"><p class="text">ä¸è½½å®¢æ·ç«¯</p></div><div class="code-block"><img class="qr-code" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="https://cms.samanlehua.com/cms/dengting/f7beaa20-b44d-11e9-8b4c-f750f4618b4e.png" alt="å
³æ³¨å¾®å"><p class="text">å
³æ³¨å¾®å</p></div><div class="code-block"><img class="qr-code" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="https://cms.samanlehua.com/cms/dengting/153feaf0-b44e-11e9-944a-ff52dff10974.png" alt="å
³æ³¨å¾®ä¿¡"><p class="text">å
³æ³¨å¾®ä¿¡</p></div><div class="code-block"><img class="qr-code" src="//resource.mhxk.com/kanman_pc/static/images/comm/space.gif" data-src="https://cms.samanlehua.com/cms/dengting/2e81d460-b44e-11e9-8100-032d227c76eb.png" alt="å°ç¨åº"><p class="text">å°ç¨åº</p></div></div><div class="footer-right"><ul class="link-list"><li class="link-item">çµè¯ï¼400-616-1961</li><li class="link-item">QQï¼<a href="tencent://message/?uin=4006161961&Site=&Menu=yes" rel="nofollow">4006161961</a></li><li class="link-item">QQ群ï¼<a href="tencent://message/?uin=724607947&Site=&Menu=yes" rel="nofollow">724607947</a></li><li class="link-item">é®ç®±ï¼kefu@xiaomingtaiji.com</li></ul><span class="feedback-btn J_contact">æè§åé¦</span></div></div><div class="block-bottom"><a class="acgn-dark" ref="nofollow" href="http://beian.miit.gov.cn" target="_blank" title="çæä¿¡æ¯">éICPå¤20007481å·-1</a> | <a class="acgn-dark" ref="nofollow" href="https://resource.mhxk.com/public/internet/kmh.jpg" target="_blank" title="æç½æ">éç½æï¼2020ï¼2367-090å·</a><br>å
¬å¸å°å: æ¹åçéå·å¸èåºå¼ååºèåºéç½åºæãç§åæå
è°·èåç§æåD3-1å·1å±101室<br>Copyright © 2021 éå·ç漫ç»å¨æ¼«æéå
¬å¸ãçæææã<a href="/about/409860.html" target="_self" title="çº çº·å¤ç">çº çº·å¤ç</a>ã<a href="/about/409859.html" target="_self" title="èªå®¡å¶åº¦">èªå®¡å¶åº¦</a></div></div></div></div><div class="acgn-row"><div class="acgn-col-24 acgn-col-space-middle"><div id="m_2213_1106_1184" class="acgn-model acgn-model-comic-floater acgn-space-small"></div></div></div><div class="acgn-row"><div class="acgn-col-24 acgn-col-space-middle"><div id="m_2216_1094_1183" class="acgn-model acgn-model-float"><div class="float-cat-main"><ul class="round-list-group js_list"><li class="item"><a rel="nofollow" href="/#update">æ¯æ¥æ´æ°</a></li><li class="item"><a rel="nofollow" href="/#rank">æè¡æ¦å</a></li></ul><div class="connect"><div class="line"></div></div><div class="round-list"><div class="item item-icon"><a href="https://activity.321mh.com/kmh-pc/" target="_blank" title="ä¸è½½APP"><i class="ift-qr-code"></i></a><div class="item-hover"><div class="float-qr-code"><img class="pic" src="//resource.mhxk.com/kanman_pc/static/images/comm/qr-code.png" alt="æ«ä¸æ«ï¼ä¸è½½APP"><p class="text">æ«ä¸æ«ï¼ä¸è½½APP</p></div></div></div><div id="J_backtop" class="item item-icon"><i class="ift-more-top"></i></div></div><div class="cat"></div></div></div></div></div><script src="//resource.mhxk.com/kanman_pc/static/manifest.479a23.js" type="text/javascript"></script><script src="//resource.mhxk.com/kanman_pc/static/js/chunk/vendor.c9a5c2.js" type="text/javascript"></script><script src="//resource.mhxk.com/kanman_pc/static/js/main/entry.common.f7d1a3.js" type="text/javascript"></script><script src="//resource.mhxk.com/kanman_pc/static/js/main/entry.detail.59b18f.js" type="text/javascript"></script><script>window.cnzz=["_trackEvent","好æ³åæä½ çè®°å¿","kmh_pc","",106719],_czc=[["_setAccount","1255417151"]],_czc.push(cnzz)</script><script src="//vvip.cnzz.com/stat.php?id=1255417151&web_id=1255417151&show=none"></script><script src="//vvip.cnzz.com/stat.php?id=1261814609&web_id=1261814609&show=none"></script><script src="//jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba" id="sozz"></script><script>!function(){var t=document.createElement("script"),e=window.location.protocol.split(":")[0];t.src="https"===e?"https://zz.bdstatic.com/linksubmit/push.js":"http://push.zhanzhang.baidu.com/push.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}()</script></body></html>14Process finished with exit code 0...
class_bot.py
Source:class_bot.py
1from selenium import webdriver2from selenium.webdriver.common.keys import Keys3from auth_data import username, password4from direct_users_list import direct_users_list5from selenium.common.exceptions import NoSuchElementException6# импоÑÑиÑÑем модÑли time and random to create pause527import time8import random9import requests10import os11class InstagramBot():12 def __init__(self, username, password):13 self.username = username14 self.password = password15 self.browser = webdriver.Chrome('../chromedriver/chromedriver.exe')16 def close_browser(self):17 self.browser.close()18 self.browser.quit()19 def login(self):20 """Ñоздаем ÑкземплÑÑ ÐºÐ»Ð°ÑÑа гÑгл Ñ
Ñом и пеÑедаем емÑ21 в каÑеÑÑве паÑамеÑÑа пÑÑÑ Ð´Ð¾ дÑайвеÑа"""22 browser = self.browser23 browser.get('https://instagram.com')24 # ÑÑÑановим ÑандомнÑÑ Ð¿Ð°ÑÐ·Ñ Ð¾Ñ 3-до 525 time.sleep(random.randrange(3, 5))26 # наÑ
одим поле ввода ÑзеÑнейма27 username_input = browser.find_element_by_name('username')28 # оÑиÑаем на вÑÑкий ÑлÑÑай29 username_input.clear()30 # вводим Ð½Ð°Ñ ÑзеÑнÑйм31 username_input.send_keys(username)32 # 2 sec delay33 time.sleep(2)34 # наÑ
одим поле ввода паÑолÑ35 password_input = browser.find_element_by_name('password')36 # оÑиÑаем на вÑÑкий ÑлÑÑай37 password_input.clear()38 # вводим Ð½Ð°Ñ Ð¿Ð°ÑолÑ39 password_input.send_keys(password)40 # нажимаем на ÐºÐ½Ð¾Ð¿ÐºÑ Ð²Ð²Ð¾Ð´Ð°41 password_input.send_keys(Keys.ENTER)42 time.sleep(20)43 def like_photo_by_hastag(self, hashtag):44 browser = self.browser45 browser.get(f'https://www.instagram.com/explore/tags/{hashtag}/')46 time.sleep(5)47 # имиÑиÑÑем ÑкÑол ÑÑÑаниÑÑ48 for i in range(1, 4): # 4 ÑкÑола49 browser.execute_script('window.scrollTo(0, document.body.scrollHeight);')50 time.sleep(random.randrange(3, 5))51 # ÑoбиÑаем вÑе ÑÑÑлки Ñо ÑÑÑаниÑÑ52 hrefs = browser.find_elements_by_tag_name('a')53 # ÑоÑмиÑÑем ÑпиÑок нÑжнÑÑ
ÑÑÑлок54 posts_url = [item.get_attribute('href') for item in hrefs if "/p/" in item.get_attribute('href')]55 # print(posts_url)56 # лайкаем вÑе поÑÑÑ Ð¿Ð¾ Ñ
ÑÑÑегÑ57 for url in posts_url:58 try:59 browser.get(url)60 time.sleep(5)61 # в модалÑном окне оÑÑабаÑÑваÑÑ ÑÑо икÑÐ¿Ð°Ñ Ð½Ðµ бÑдеÑ62 like_button = browser.find_element_by_xpath(63 '/html/body/div[1]/section/main/div/div[1]/article/div[3]/section[1]/span[1]/button').click()64 time.sleep(random.randrange(80, 100))65 except Exception as ex:66 print(ex)67 self.browser.close()68 # пÑовеÑÑем по xpath ÑÑÑеÑÑвÑÐµÑ Ð»Ð¸ ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ð½Ð° ÑÑÑаниÑе69 def xpath_exist(self, url):70 browser = self.browser71 try:72 browser.find_element_by_xpath(url)73 exist = True74 except NoSuchElementException:75 exist = False76 return exist77 # ÑÑавим лайк на поÑÑ Ð¿Ð¾ пÑÑмой ÑÑÑлке78 def put_exactly_like(self, userpost):79 browser = self.browser80 browser.get(userpost)81 time.sleep(4)82 wrong_userpage = "/html/body/div[1]/section/main/div/h2"83 if self.xpath_exist(wrong_userpage):84 print('ÐоÑÑа не ÑÑÑеÑÑвÑÐµÑ Ð¿ÑовеÑÑ URL')85 self.close_browser()86 else:87 print('ÐоÑÑ ÑÑпеÑно найден, ÑÑавим лайк')88 time.sleep(2)89 like_button = "html/body/div[1]/section/main/div/div/article/div[3]/section[1]/span[1]/button"90 browser.find_element_by_xpath(like_button).click()91 time.sleep(2)92 print(f'Ðайк на поÑÑ {userpost} ÑÑпеÑно поÑÑавлен')93 self.close_browser()94 # меÑод ÑобиÑÐ°ÐµÑ ÑÑÑлки на вÑе поÑÑÑ Ð¿Ð¾Ð»ÑзоваÑелÑ95 def get_all_posts_urls(self, userpage):96 browser = self.browser97 browser.get(userpage)98 time.sleep(4)99 wrong_userpage = "/html/body/div[1]/section/main/div/h2"100 if self.xpath_exist(wrong_userpage):101 print('ЮзеÑа не ÑÑÑеÑÑвÑÐµÑ Ð¿ÑовеÑÑ URL')102 self.close_browser()103 else:104 print('Ð®Ð·ÐµÑ ÑÑпеÑно найден, ÑÑавим лайк')105 time.sleep(2)106 post_count = int(browser.find_element_by_xpath(107 '/html/body/div[1]/section/main/div/header/section/ul/li[1]/span/span').text)108 loops_count = int(post_count / 12)109 print(loops_count)110 time.sleep(2)111 posts_urls = []112 # пÑовеÑка ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¿ÑокÑÑÑки ÑÑÑаниÑÑ ÐµÑли мало пÑоÑÑов Ñо else113 if loops_count > 0:114 for i in range(0, loops_count):115 hrefs = browser.find_elements_by_tag_name('a')116 hrefs = [item.get_attribute('href') for item in hrefs if "/p/" in item.get_attribute('href')]117 for href in hrefs:118 posts_urls.append(href)119 browser.execute_script("window.scrollTo(0, document.body.scrollHeight);")120 time.sleep(random.randrange(3, 5))121 print(f"ÐÑеÑаÑÐ¸Ñ #{i}")122 else:123 print("пÑокÑÑÑка не ÑÑебÑеÑÑÑ")124 hrefs = browser.find_elements_by_tag_name('a')125 hrefs = [item.get_attribute('href') for item in hrefs if "/p/" in item.get_attribute('href')]126 for href in hrefs:127 posts_urls.append(href)128 time.sleep(random.randrange(3, 5))129 file_name = userpage.split('/')[-2]130 with open(f'{file_name}.txt', 'a', encoding='utf-8') as file:131 for post_url in posts_urls:132 file.write(post_url + "\n")133 # избавимÑÑ Ð¾Ñ Ð·Ð°Ð´Ð²Ð¾ÐµÐ½Ð¸Ñ ÑÑлÑок и внеÑем Ñандом134 set_posts_urls = set(posts_urls)135 set_posts_urls = list(set_posts_urls)136 with open(f'{file_name}_set.txt', 'a', encoding='utf-8') as f:137 for post_url in set_posts_urls:138 f.write(post_url + '\n')139 def put_many_likes(self, userpage):140 browser = self.browser141 self.get_all_posts_urls(userpage)142 file_name = userpage.split('/')[-2]143 time.sleep(4)144 browser.get(userpage)145 time.sleep(4)146 # лайкаем147 with open(f'{file_name}_set.txt') as file:148 urls_list = file.readlines()149 for post_url in urls_list[:10]:150 try:151 browser.get(post_url)152 time.sleep(2)153 like_button = "html/body/div[1]/section/main/div/div/article/div[3]/section[1]/span[1]/button"154 browser.find_element_by_xpath(like_button).click()155 # time.sleep(random.randrange(80, 100))156 time.sleep(2)157 print(f'Ðайк на поÑÑ {post_url} ÑÑпеÑно поÑÑавлен')158 except Exception as ex:159 print(ex)160 self.close_browser()161 def download_userpage_content(self, userpage):162 browser = self.browser163 self.get_all_posts_urls(userpage)164 file_name = userpage.split('/')[-2]165 time.sleep(4)166 browser.get(userpage)167 time.sleep(4)168 #Ñоздаем Ð¿Ð°Ð¿ÐºÑ Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ полÑзоваÑелÑ169 if os.path.exists(f'{file_name}'):170 print('папка Ñже еÑÑÑ')171 else:172 os.mkdir(file_name)173 # ÑоÑ
Ñаним ÑÑÑлки в ÑпиÑок174 img_and_video_src_urls = []175 with open(f'{file_name}_set.txt') as file:176 urls_list = file.readlines()177 for post_url in urls_list:178 try:179 browser.get(post_url)180 time.sleep(4)181 img_src = '/html/body/div[1]/section/main/div/div[1]/article/div[2]/div/div/div[1]/img'182 video_src = '/html/body/div[1]/section/main/div/div[1]/article/div[2]/div/div/div[1]/div/div/video'183 post_id = post_url.split('/')[-2]184 #еÑли каÑÑинка еÑÑÑ Ð½Ð° ÑÑÑаниÑе Ñо Ð¼Ñ Ð·Ð°Ð±Ð¸Ñаем ÑÑÑÐ»ÐºÑ Ð¸Ð· аÑÑибÑÑа src185 if self.xpath_exist(img_src):186 img_src_url = browser.find_element_by_xpath(img_src).get_attribute('src')187 img_and_video_src_urls.append(img_src_url)188 # ÑоÑ
ÑанÑем изобÑажение189 get_img = requests.get(img_src_url)190 with open(f'{file_name}/{file_name}_{post_id}_img.jpg', 'wb') as img_file:191 img_file.write(get_img.content)192 elif self.xpath_exist(video_src):193 video_src_url = browser.find_element_by_xpath(video_src).get_attribute('src')194 img_and_video_src_urls.append(video_src_url)195 # ÑоÑ
ÑанÑем видео196 get_video = requests.get(video_src_url, stream=True)197 with open(f'{file_name}/{file_name}_{post_id}_video.mp4', 'wb') as video_file:198 video_file.write(get_video.content)199 for chunk in get_video.iter_content(chunk_size=1024*1024):200 if chunk:201 video_file.write(chunk)202 else:203 # print('ÑÑо-Ñо ÑломалоÑÑ')204 img_and_video_src_urls.append(f'{post_url} Ð½ÐµÑ ÑÑÑлки')205 print(f'конÑÐµÐ½Ñ Ð¸Ð· поÑÑа {post_url} ÑÑпеÑно ÑкаÑан')206 except Exception as ex:207 print(ex)208 self.close_browser()209 self.close_browser()210 with open(f'{file_name}/{file_name}_img_and_video_src_urls.txt', 'a') as file:211 for i in img_and_video_src_urls:212 file.write(i + '\n')213 # меÑод подпиÑки на вÑеÑ
подпиÑÑиков пеÑеданного аккаÑнÑа214 def get_all_followers(self, userpage):215 browser = self.browser216 browser.get(userpage)217 time.sleep(4)218 file_name = userpage.split("/")[-2]219 # ÑоздаÑм Ð¿Ð°Ð¿ÐºÑ Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ полÑзоваÑÐµÐ»Ñ Ð´Ð»Ñ ÑиÑÑоÑÑ Ð¿ÑоекÑа220 if os.path.exists(f"{file_name}"):221 print(f"Ðапка {file_name} Ñже ÑÑÑеÑÑвÑеÑ!")222 else:223 print(f"СоздаÑм Ð¿Ð°Ð¿ÐºÑ Ð¿Ð¾Ð»ÑзоваÑÐµÐ»Ñ {file_name}.")224 os.mkdir(file_name)225 wrong_userpage = "/html/body/div[1]/section/main/div/h2"226 if self.xpath_exist(wrong_userpage):227 print(f"ÐолÑзоваÑÐµÐ»Ñ {file_name} не ÑÑÑеÑÑвÑеÑ, пÑовеÑÑÑе URL")228 self.close_browser()229 else:230 print(f"ÐолÑзоваÑÐµÐ»Ñ {file_name} ÑÑпеÑно найден, наÑинаем ÑкаÑиваÑÑ ÑÑÑлки на подпиÑÑиков!")231 time.sleep(2)232 followers_button = browser.find_element_by_xpath(233 "/html/body/div[1]/section/main/div/header/section/ul/li[2]/a")234 followers_count = followers_button.text235 followers_count = int(followers_count.split(' ')[0])236 print(f"ÐолиÑеÑÑво подпиÑÑиков: {followers_count}")237 time.sleep(2)238 loops_count = int(followers_count / 12)239 print(f"ЧиÑло иÑеÑаÑий: {loops_count}")240 time.sleep(4)241 followers_button.click()242 time.sleep(4)243 followers_ul = browser.find_element_by_xpath("/html/body/div[5]/div/div")244 try:245 followers_urls = []246 for i in range(1, loops_count + 1):247 browser.execute_script("arguments[0].scrollTop = arguments[0].scrollHeight", followers_ul)248 time.sleep(random.randrange(2, 4))249 print(f"ÐÑеÑаÑÐ¸Ñ #{i}")250 all_urls_div = followers_ul.find_elements_by_tag_name("li")251 for url in all_urls_div:252 url = url.find_element_by_tag_name("a").get_attribute("href")253 followers_urls.append(url)254 # ÑоÑ
ÑанÑем вÑеÑ
подпиÑÑиков полÑзоваÑÐµÐ»Ñ Ð² Ñайл255 with open(f"{file_name}/{file_name}.txt", "a") as text_file:256 for link in followers_urls:257 text_file.write(link + "\n")258 with open(f"{file_name}/{file_name}.txt") as text_file:259 users_urls = text_file.readlines()260 for user in users_urls[0:10]:261 try:262 try:263 with open(f'{file_name}/{file_name}_subscribe_list.txt',264 'r') as subscribe_list_file:265 lines = subscribe_list_file.readlines()266 if user in lines:267 print(f'ÐÑ Ñже подпиÑÐ°Ð½Ñ Ð½Ð° {user}, пеÑеÑ
одим к ÑледÑÑÑÐµÐ¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ!')268 continue269 except Exception as ex:270 print('Файл Ñо ÑÑÑлками еÑÑ Ð½Ðµ Ñоздан!')271 # print(ex)272 browser = self.browser273 browser.get(user)274 page_owner = user.split("/")[-2]275 if self.xpath_exist("/html/body/div[1]/section/main/div/header/section/div[1]/div/a"):276 print("ÐÑо Ð½Ð°Ñ Ð¿ÑоÑилÑ, Ñже подпиÑан, пÑопÑÑкаем иÑеÑаÑиÑ!")277 elif self.xpath_exist(278 "/html/body/div[1]/section/main/div/header/section/div[1]/div[2]/div/span/span[1]/button/div/span"):279 print(f"Уже подпиÑанÑ, на {page_owner} пÑопÑÑкаем иÑеÑаÑиÑ!")280 else:281 time.sleep(random.randrange(4, 8))282 if self.xpath_exist(283 "/html/body/div[1]/section/main/div/div/article/div[1]/div/h2"):284 try:285 follow_button = browser.find_element_by_xpath(286 "/html/body/div[1]/section/main/div/header/section/div[1]/div[1]/button").click()287 print(f'ÐапÑоÑили подпиÑÐºÑ Ð½Ð° полÑзоваÑÐµÐ»Ñ {page_owner}. ÐакÑÑÑÑй аккаÑнÑ!')288 except Exception as ex:289 print(ex)290 else:291 try:292 if self.xpath_exist(293 "/html/body/div[1]/section/main/div/header/section/div[1]/div[1]/button"):294 follow_button = browser.find_element_by_xpath(295 "/html/body/div[1]/section/main/div/header/section/div[1]/div[1]/button").click()296 print(f'ÐодпиÑалиÑÑ Ð½Ð° полÑзоваÑÐµÐ»Ñ {page_owner}. ÐÑкÑÑÑÑй аккаÑнÑ!')297 else:298 follow_button = browser.find_element_by_xpath(299 "/html/body/div[1]/section/main/div/header/section/div[1]/div[1]/div/div/div/span/span[1]/button").click()300 print(f'ÐодпиÑалиÑÑ Ð½Ð° полÑзоваÑÐµÐ»Ñ {page_owner}. ÐÑкÑÑÑÑй аккаÑнÑ!')301 except Exception as ex:302 print(ex)303 # запиÑÑваем даннÑе в Ñайл Ð´Ð»Ñ ÑÑÑлок вÑеÑ
подпиÑок, еÑли Ñайла неÑ, ÑоздаÑм, еÑли еÑÑÑ - дополнÑем304 with open(f'{file_name}/{file_name}_subscribe_list.txt',305 'a') as subscribe_list_file:306 subscribe_list_file.write(user)307 time.sleep(random.randrange(7, 15))308 except Exception as ex:309 print(ex)310 self.close_browser()311 except Exception as ex:312 print(ex)313 self.close_browser()314 self.close_browser()315 # меÑод Ð´Ð»Ñ Ð¾ÑпÑавки ÑообÑÐµÐ½Ð¸Ñ Ð² диÑекÑ316 def send_direct_message(self, username='', message=''):317 browser = self.browser318 time.sleep(random.randrange(2, 4))319 direct_button_message = '/html/body/div[1]/section/nav/div[2]/div/div/div[3]/div/div[2]/a'320 if not self.xpath_exist(direct_button_message):321 print('кнопка оÑпÑавки ÑообÑÐµÐ½Ð¸Ñ Ð½Ðµ найдена')322 self.close_browser()323 else:324 print('оÑпÑавлÑем ÑообÑение...')325 direct_message = browser.find_element_by_xpath(direct_button_message).click()326 time.sleep(random.randrange(2, 4))327 # оÑклÑÑаем вÑплÑваÑÑее окно328 if self.xpath_exist('/html/body/div[5]/div'):329 browser.find_element_by_xpath('/html/body/div[5]/div/div/div/div[3]/button[2]').click()330 time.sleep(random.randrange(2, 4))331 send_message_button = browser.find_element_by_xpath('/html/body/div[1]/section/div/div[2]/div/div/div[2]/div/div[3]/div/button').click()332 time.sleep(random.randrange(2, 4))333 # вводим полÑÑаÑелÑ334 to_input = browser.find_element_by_xpath('/html/body/div[5]/div/div/div[2]/div[1]/div/div[2]/input')335 to_input.send_keys(username)336 time.sleep(random.randrange(2, 4))337 # вÑбиÑаем полÑÑаÑÐµÐ»Ñ Ð¸Ð· ÑпиÑка338 users_list = browser.find_element_by_xpath('/html/body/div[5]/div/div/div[2]/div[2]').find_element_by_tag_name('button').click()339 time.sleep(random.randrange(2, 4))340 next_button = browser.find_element_by_xpath('/html/body/div[5]/div/div/div[1]/div/div[2]/div/button').click()341 time.sleep(random.randrange(2, 4))342 text_message_area = browser.find_element_by_xpath('/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea')343 text_message_area.clear()344 text_message_area.send_keys(message)345 time.sleep(random.randrange(2, 4))346 text_message_area.send_keys(Keys.ENTER)347 print(f'СообÑение Ð´Ð»Ñ {username} ÑÑпеÑно оÑпÑавлено')348 self.close_browser()349 # меÑод маÑÑовой ÑаÑÑÑлки ÑообÑений в диÑекÑ350 def masiv_sending_messages(self, usernames='', message='', img_path=''):351 browser = self.browser352 time.sleep(random.randrange(2, 4))353 direct_button_message = '/html/body/div[1]/section/nav/div[2]/div/div/div[3]/div/div[2]/a'354 if not self.xpath_exist(direct_button_message):355 print('кнопка оÑпÑавки ÑообÑÐµÐ½Ð¸Ñ Ð½Ðµ найдена')356 self.close_browser()357 else:358 print('оÑпÑавлÑем ÑообÑение...')359 direct_message = browser.find_element_by_xpath(direct_button_message).click()360 time.sleep(random.randrange(2, 4))361 # оÑклÑÑаем вÑплÑваÑÑее окно362 if self.xpath_exist('/html/body/div[5]/div'):363 browser.find_element_by_xpath('/html/body/div[5]/div/div/div/div[3]/button[2]').click()364 time.sleep(random.randrange(2, 4))365 send_message_button = browser.find_element_by_xpath(366 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div/div[3]/div/button').click()367 time.sleep(random.randrange(2, 4))368 # оÑпÑавка ÑообÑений неÑколÑким полÑзоваÑелÑм369 for user in usernames:370 # вводим полÑÑаÑелÑ371 to_input = browser.find_element_by_xpath('/html/body/div[5]/div/div/div[2]/div[1]/div/div[2]/input')372 to_input.send_keys(user)373 time.sleep(random.randrange(2, 4))374 # вÑбиÑаем полÑÑаÑÐµÐ»Ñ Ð¸Ð· ÑпиÑка375 users_list = browser.find_element_by_xpath('/html/body/div[5]/div/div/div[2]/div[2]').find_element_by_tag_name('button').click()376 time.sleep(random.randrange(2, 4))377 next_button = browser.find_element_by_xpath('/html/body/div[5]/div/div/div[1]/div/div[2]/div/button').click()378 time.sleep(random.randrange(2, 4))379 # оÑпÑавка ÑекÑÑового ÑообÑениÑ380 if message:381 text_message_area = browser.find_element_by_xpath(382 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea')383 text_message_area.clear()384 text_message_area.send_keys(message)385 time.sleep(random.randrange(2, 4))386 text_message_area.send_keys(Keys.ENTER)387 print(f'СообÑение Ð´Ð»Ñ {username} ÑÑпеÑно оÑпÑавлено')388 time.sleep(random.randrange(2, 4))389 # оÑпÑавка изобÑажениÑ390 if img_path:391 send_message_input = browser.find_element_by_xpath('/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/form/input')392 send_message_input.send_keys(img_path)393 print(f'изобÑажение Ð´Ð»Ñ {usernames} ÑÑпеÑно оÑпÑавлено')394 time.sleep(random.randrange(2, 4))395 self.close_browser()396my_bot = InstagramBot(username, password)397my_bot.login()398# my_bot.get_all_followers('https://www.instagram.com/mgelatta/')399# my_bot.send_direct_message('sviteribuben', 'Hi')400my_bot.masiv_sending_messages(direct_users_list, "Hi, i'm testing my bot) Don't worry", "C:/Users/zvuk/PycharmProjects/instabot/1_bot/ph4.jpg")401# my_bot.download_userpage_content('https://www.instagram.com/elayes.lb/')402# my_bot.put_exactly_like('https://www.instagram.com/p/B9j0VnRoDOJ/')...
BeautifulSoupTest.py
Source:BeautifulSoupTest.py
1from bs4 import BeautifulSoup2# html = """3# <html><head><title id='id_title' class="class_title1 class_title2">the dormous story</title></head>4# <body><p class="title"><b>the dormous story</b></p><div><!--comment test--></div><p class="story">Once upon a time there were three little girls;and they were5# <a href="http://example.com/elsie" class="sister" id="link1">Elsize</a>,<a href="http://example.com/lacie" class="sister" id="link2">Lacie</a>and6# <a href="http://example.com/tillie" class="sister" id="link3">Tillie</a>;and they lived a bottom of a well.</p>7# <p class="story">...</p>8# """9# soup = BeautifulSoup(html,'lxml')10# #æ ¼å¼åè¾åºï¼å¹¶èªå¨è¡¥é½11# print(soup.prettify())12# å大对象ç§ç±»13# 1,Tag14html = """15<html><head><title id='id_title' class="class_title1 class_title2">the dormous story</title></head>16<body><p class="title"><b>the dormous story</b></p><div><!--comment test--></div><p class="story">Once upon a time there were three little girls;and they were17<a href="http://example.com/elsie" class="sister" id="link1">Elsize</a>,<a href="http://example.com/lacie" class="sister" id="link2">Lacie</a>and18<a href="http://example.com/tillie" class="sister" id="link3">Tillie</a>;and they lived a bottom of a well.</p>19<p class="story">...</p>20"""21soup = BeautifulSoup(html,'lxml')22# print('title type:',type(soup.title))23# print('title name:',soup.title.name)#å称24# print('title attrs:',soup.title.attrs)#å±æ§25# NavigableString26# è·åæ ç¾å
é¨æå27# print('p.string type:',type(soup.p.string))#è·å第ä¸ä¸ªpæ ç¾28# print('p.string contents:',soup.p.string)29# BeautifulSoup30# 表示ä¸ä¸ªææ¡£çå
¨é¨å
容31# soup = BeautifulSoup(html,'lxml')32# print('soup type:',type(soup))33# print('soup name:',soup.name)34# print('soup attrs:',soup.attrs)35# 2,comment36# 注é37html = """38<html><head><title id='id_title' class="class_title1 class_title2">the dormous story</title></head>39<body><p class="title"><b>the dormous story</b></p><div><!--comment test--></div><p class="story">Once upon a time there were three little girls;and they were40<a href="http://example.com/elsie" class="sister" id="link1">Elsize</a>,<a href="http://example.com/lacie" class="sister" id="link2">Lacie</a>and41<a href="http://example.com/tillie" class="sister" id="link3">Tillie</a>;and they lived a bottom of a well.</p>42<p class="story">...</p>43"""44soup = BeautifulSoup(html,'lxml')45# print('soup.div.string:',soup.div.string)# è¾åºæ³¨éå
容ï¼ä½ä¸è¾åºæ³¨é符å·46# print('soup.div.string.type:',type(soup.div.string))47# print('soup.p.string.type:',type(soup.p.string))48# éåææ¡£æ 49# èç¹å
容50# .string51# è·åtagå
容ï¼è¥tagåªæä¸ä¸ªNavigableStringç±»ååèç¹ï¼é£ä¹è¿ä¸ªtagå¯ä»¥ä½¿ç¨ï¼è¶
è¿ä¸ä¸ªï¼è¿ånone52html = """53<html><head></head>54<body>55<p><b>p-content</b></p>56<div>div-content<span>span-content</span></div>57"""58soup = BeautifulSoup(html,'lxml')59# print('p.string content:',soup.p.string)60# print('div.string content:',soup.div.string)61# è·åå¤ä¸ªå
容62# .strings:è·åææå
容ï¼è¿åä¸ä¸ªgenerator(å
å«ç©ºç½å符)63# .stripped_strings:è·åææå
容ï¼è¿åä¸ä¸ªgenerator(åé¤ç©ºç½å符)64html = """65<html><head></head>66<body>67<p><b>p-content</b></p>68<div>div-content<span>span-content</span></div>69"""70soup = BeautifulSoup(html,'lxml')71# print('soup.p.strings content:',soup.p.strings)72# print('soup.p.strings.list:',list(soup.p.strings))73# print('-------------------')74# print('soup.div.strings content:',soup.div.strings)75# print('soup.div.strings.list:',list(soup.div.strings))76# ç´æ¥åèç¹77# .contentså±æ§ï¼å°tagçåèç¹ä»¥å表形å¼è¾åº78# .childrenå±æ§ï¼å°tagçåèç¹ä»¥list-iteratorå½¢å¼è¾åº79from bs4 import BeautifulSoup80html = """81<html><head></head>82<body>83<p><b>p-content</b></p>84<div>div-content<span>span-content</span></div>85"""86soup = BeautifulSoup(html,'lxml')87# print('soup.div.contents:',soup.div.contents)88# print('soup.div.contents list',list(soup.div.contents))89# print('-------------')90# print('soup.div.children:',soup.div.children)91# print('soup.div.children list:',list(soup.div.children))92# ææååèç¹93# .descendantså±æ§ï¼å¯¹ææåèç¹éå½94from bs4 import BeautifulSoup95html = """96<html><head></head>97<body>98<p><b>p-content</b></p>99<div>div-content<span>span-content</span></div>100"""101soup = BeautifulSoup(html,'lxml')102# print('soup.div.contents:',soup.div.contents)103# print('soup.div.contents list',list(soup.div.contents))104# print('-------------')105# print('soup.div.children:',soup.div.descendants)106# print('soup.div.children list:',list(soup.div.descendants))107# ç¶èç¹108#.parentå±æ§ï¼ç¶èç¹109html = """110<html><head></head>111<body>112<p><b>p-content</b></p>113<div>div-content<span>span-content</span></div>114"""115# soup = BeautifulSoup(html,'lxml')116# print('soup.b.parent:',soup.b.parent)117# print('soup.b.parent type:',type(soup.b.parent))118# å
¨é¨ç¶èç¹119#.parentså±æ§ï¼ææç¶èç¹120html = """121<html><head></head>122<body>123<p><b>p-content</b></p>124<div>div-content<span>span-content</span></div>125"""126soup = BeautifulSoup(html,'lxml')127# print('soup.b.parents:',soup.b.parents)128# print('soup.b.parents type:',type(soup.b.parents))129# print('-----------------------------')130# for i in soup.b.parents:131# print('parent name:',i.name)132# å
å¼èç¹133# .next_siblingå±æ§:ä¸ä¸ä¸ªå
å¼èç¹134# .previous_siblingå±æ§ï¼ä¸ä¸ä¸ªå
å¼èç¹135html = """136<html><head></head>137<body>138<p><b>p-content</b></p>139<div>div-content<span>span-content</span></div>140"""141soup = BeautifulSoup(html,'lxml')142# print('soup.p.next_sibling:',repr(soup.p.next_sibling))143# print('soup.p.next_sibling type:',type(soup.p.next_sibling))144# print('-----------------------')145# print('soup.p.next_sibling.next_sibling:',repr(soup.p.next_sibling.next_sibling))146# print('soup.p.next_sibling.next_sibling type:',type(soup.p.next_sibling.next_sibling))147# print('-----------------------')148# print('soup.p.previous_sibling:',repr(soup.p.previous_sibling))149# print('soup.p.previous_sibling type:',type(soup.p.previous_sibling))150# print('-----------------------')151# print('soup.p.previous_sibling.previous_sibling:',soup.p.previous_sibling.previous_sibling)152# print('soup.p.previous_sibling.previous_sibling type:',type(soup.p.previous_sibling.previous_sibling))153# å
¨é¨å
å¼èç¹154# .next_siblings:å
¨é¨å¼å¼(generator)155# .previous_siblingsï¼å
¨é¨å¥å¥(generator)156from bs4 import BeautifulSoup157html = """158<html><head></head>159<body>160<p><b>p-content</b></p>161<div>div-content<span>span-content</span></div>162"""163# soup = BeautifulSoup(html,'lxml')164# print('soup.p.next_silibings type:',type(soup.p.next_siblings))165# print('soup.p.next_silibings list:',list(soup.p.next_siblings))166# print('----------------------------------')167# print('soup.p.previous_silibings type:',type(soup.p.previous_siblings))168# print('soup.p.previous_silibings list:',list(soup.p.previous_siblings))169# ååèç¹170# .next_element:åä¸ä¸ªèç¹171# .previous_element:åä¸ä¸ªèç¹172html = """173<html><head></head>174<body>175<p><b>p-content</b></p>176<div>div-content<span>span-content</span></div>177"""178# soup = BeautifulSoup(html,'lxml')179# print('soup.p.next_element:',repr(soup.p.next_element))180# print('soup.p.next_element.next_element:',repr(soup.p.next_element.next_element))181# print('soup.p.next_element.next_element.next_element:',repr(soup.p.next_element.next_element.next_element))182# print('soup.p.next_element.next_element.next_element.next_element:',repr(soup.p.next_element.next_element.next_element.next_element))183# print('-----------------')184# print('soup.p.previous_element:',repr(soup.p.previous_element))185# print('soup.p.previous_element.previous_element:',repr(soup.p.previous_element.previous_element))186# print('soup.p.previous_element.previous_element.previous_element:',repr(soup.p.previous_element.previous_element.previous_element))187# print('soup.p.previous_element.previous_element.previous_element.previous_element:',repr(soup.p.previous_element.previous_element.previous_element.previous_element))188# ææååèç¹189# .next_elements:ææåèç¹ï¼è¿åçæå¨190# .previous_elemetns:ææåèç¹ï¼è¿åçæå¨191from bs4 import BeautifulSoup192html = """193<html><head></head>194<body>195<p><b>p-content</b></p>196<div>div-content<span>span-content</span></div>197"""198soup = BeautifulSoup(html,'lxml')199# print('soup.p.next_elements type:',type(soup.p.next_elements))200# for i in soup.p.next_elements:201# print('soup.p.next_element:',repr(i))202# print('-------------------------')203# print('soup.p.previous_elements type:',type(soup.p.previous_elements))204# for i in soup.p.previous_elements:205# print('soup.p.previous_element:',repr(i))206# æç´¢ææ¡£æ 207# find_all():å½åæ ç¾çææåèç¹åå½åèç¹ï¼è¿åä¸ä¸ªå表208from bs4 import BeautifulSoup209html = """210<html><head></head>211<body>212<p><b>p-content1</b></p>213<p>p-content2</p>214<div>div-content<span>span-content</span></div>215"""216# soup = BeautifulSoup(html,'lxml')217# print(soup.find_all('p'))218# éè¿æ£åæ¾219import re220from bs4 import BeautifulSoup221html = """222<html><head></head>223<body>224<p><b>p-content1</b></p>225<p>p-content2</p>226<panda>panda-content</panda>227<div>div-content<span>span-content</span></div>228"""229soup = BeautifulSoup(html,'lxml')230# print(soup.find_all(re.compile('^p')))231# éè¿å表æ¥æ¾232from bs4 import BeautifulSoup233html = """234<html><head></head>235<body>236<p><b>p-content1</b></p>237<p>p-content2</p>238<panda>panda-content</panda>239<div>div-content<span>span-content</span></div>240"""241soup = BeautifulSoup(html,'lxml')242print(soup.find_all(['p','div']))243# éè¿æ£åé
åå
容æ¥æ¾244from bs4 import BeautifulSoup245html = """246<html><head></head>247<body>248<p><b>p-content1</b></p>249<p>p-content2</p>250<panda>panda-content</panda>251<div>div-content<span>span-content</span></div>252"""253soup = BeautifulSoup(html,'lxml')254# print(soup.find_all(text=re.compile('content$'))) # find_all()è¿åæ ç¾ï¼å
容ç¨text255# éè¿å±æ§æ¥æ¾256# html = """257# <html><head></head>258# <body>259# <p><b>p-content1</b></p>260# <p>p-content2</p>261# <panda id='panda'>panda-content</panda>262# <div>div-content<span>span-content</span></div>263# """264# soup = BeautifulSoup(html,'lxml')265# print(soup.find_all(id='panda'))266# éå¶æ¬¡æ°267# html = """268# <html><head></head>269# <body>270# <p><b>p-content1</b></p>271# <p>p-content2</p>272# <p>p-content3</p>273# <p>p-content4</p>274# <p>p-content5</p>275# <p>p-content6</p>276# <p>p-content7</p>277# <panda id='panda'>panda-content</panda>278# <div>div-content<span>span-content</span></div>279# """280# soup=BeautifulSoup(html,'lxml')281# print(soup.find_all('p',limit=3))282# find():è¿å第ä¸ä¸ªç»æ283# find_parent():å¨å½åå
ç´ çç¶èç¹ä¸æ¥æ¾ï¼å¹¶è¿å第ä¸ä¸ª284# find_parents():å¨å½åå
ç´ çç¶èç¹ä¸æ¥æ¾ï¼å¹¶å表285# find_next_sibling():å¨å½åå
ç´ çå
å¼èç¹ä¸æ¥æ¾ï¼å¼å¼ï¼ï¼å¹¶è¿å第ä¸ä¸ª286# find_next_siblings():å¨å½åå
ç´ çå
å¼èç¹ä¸æ¥æ¾ï¼å¼å¼ï¼ï¼å¹¶è¿åå表287# find_previous_sibling():å¨å½åå
ç´ çå
å¼èç¹ä¸æ¥æ¾ï¼å¥å¥ï¼ï¼å¹¶è¿å第ä¸ä¸ª288# find_previous_siblings():å¨å½åå
ç´ çå
å¼èç¹ä¸æ¥æ¾ï¼å¥å¥ï¼ï¼å¹¶è¿åå表289# find_next():å¨å½åå
ç´ çç¸é»èç¹ä¸æ¥æ¾ï¼åä¸ï¼ï¼å¹¶è¿å第ä¸ä¸ª290# find_all_next():å¨å½åå
ç´ çç¸é»èç¹ä¸æ¥æ¾ï¼åä¸ï¼ï¼å¹¶è¿åå表291# find_previous():å¨å½åå
ç´ çç¸é»èç¹ä¸æ¥æ¾ï¼åä¸ï¼ï¼å¹¶è¿å第ä¸ä¸ª292# find_all_previous():å¨å½åå
ç´ çç¸é»èç¹ä¸æ¥æ¾ï¼åä¸ï¼ï¼å¹¶è¿åå表293# csséæ©å¨294# éè¿æ ç¾æ¥æ¾295# html = """296# <html><head></head>297# <body>298# <p><b>p-content1</b></p>299# <p>p-content2</p>300# <p class='p-class'>p-content3</p>301# <p>p-content4</p>302# <p class='p-class'>p-content5</p>303# <p>p-content6</p>304# <p>p-content7</p>305# <panda id='panda'>panda-content</panda>306# <div>div-content<span>span-content</span></div>307# """308# soup = BeautifulSoup(html,'lxml')309# print(soup.select('p'))310# éè¿ç±»åæ¥æ¾311# print(soup.select('.p-class'))312# éè¿idåæ¥æ¾313# print(soup.select('#panda'))314# ç»åæ¥æ¾315# print(soup.select('body panda'))316# éè¿å±æ§æ¥æ¾...
test_html_in_out.py
Source:test_html_in_out.py
1# Copyright: 2010 MoinMoin:ValentinJaniaut2# License: GNU GPL v2 (or any later version), see LICENSE.txt for details.3"""4MoinMoin - Tests for MoinMoin.converter.html_in and5 MoinMoin.converter.html_out.6 It will check that roundtrip conversion is working well.7"""8import StringIO9import re10import pytest11etree = pytest.importorskip('lxml.etree')12from MoinMoin.converter.html_in import Converter as HTML_IN13from MoinMoin.converter.html_out import Converter as HTML_OUT14from MoinMoin.util.tree import html, moin_page, xlink15from MoinMoin import log16logging = log.getLogger(__name__)17class Base(object):18 namespaces = {19 html.namespace: '',20 moin_page.namespace: '',21 xlink.namespace: 'xlink',22 }23 output_re = re.compile(r'\s+xmlns="[^"]+"')24 def handle_input(self, input, args):25 f = StringIO.StringIO()26 out = self.conv_html_dom(input, **args)27 out.write(f.write, namespaces=self.namespaces, )28 logging.debug("After the HTML_IN conversion : {0}".format(self.output_re.sub(u'', f.getvalue())))29 out = self.conv_dom_html(out, **args)30 f = StringIO.StringIO()31 out.write(f.write, namespaces=self.namespaces, )32 return self.output_re.sub(u'', f.getvalue())33 def do(self, input, path):34 string_to_parse = self.handle_input(input, args={})35 logging.debug("After the roundtrip : {0}".format(string_to_parse))36 print 'string_to_parse = %s' % string_to_parse37 tree = etree.parse(StringIO.StringIO(string_to_parse))38 assert (tree.xpath(path))39class TestConverter(Base):40 def setup_class(self):41 self.conv_html_dom = HTML_IN()42 self.conv_dom_html = HTML_OUT()43 def test_base(self):44 data = [45 ('<html><div><p>Test</p></div></html>',46 '/div/div[p="Test"]'),47 ('<html><div><p>First paragraph</p><h1>Title</h1><p><em>Paragraph</em></p></div></html>',48 '/div/div/p[2][em="Paragraph"]'),49 ('<html><div><p>First Line<br />Second line</p></div></html>',50 '/div/div/p[1]/br'),51 ('<div><p>Test</p></div>',52 '/div/div[p="Test"]'),53 ('<div><p class="class" title="title">Test</p></div>',54 '/div/div/p[@class="class"][@title="title"][text()="Test"]'),55 ]56 for i in data:57 yield(self.do, ) + i58 def test_title(self):59 data = [60 ('<html><h2>Test</h2></html>',61 '/div[h2="Test"]'),62 ('<html><h6>Test</h6></html>',63 '/div[h6="Test"]'),64 ]65 for i in data:66 yield (self.do, ) + i67 def test_basic_style(self):68 data = [69 ('<html><p><em>Test</em></p></html>',70 '/div/p[em="Test"]'),71 ('<html><p><i>Test</i></p></html>',72 '/div/p[em="Test"]'),73 ('<html><p><strong>Test</strong></p></html>',74 '/div/p[strong="Test"]'),75 ('<html><p><b>Test</b></p></html>',76 '/div/p[strong="Test"]'),77 ]78 for i in data:79 yield (self.do, ) + i80 def test_span(self):81 data = [82 ('<html><p><sub>sub</sub>script</p></html>',83 '/div/p[sub="sub"]'),84 ('<html><p><sup>super</sup>script</p></html>',85 '/div/p[sup="super"]'),86 ('<html><p><u>underline</u></p></html>',87 '/div/p[ins="underline"]'),88 ('<html><p><big>Test</big></p></html>',89 '/div/p/span[@class="moin-big"][text()="Test"]'),90 ('<html><p><small>Test</small></p></html>',91 '/div/p/span[@class="moin-small"][text()="Test"]'),92 ('<html><p><ins>underline</ins></p></html>',93 '/div/p[ins="underline"]'),94 ('<html><p><del>Test</del></p></html>',95 '/div/p[del="Test"]'),96 ('<html><p><s>Test</s></p></html>',97 '/div/p[del="Test"]'),98 ('<html><p><strike>Test</strike></p></html>',99 '/div/p[del="Test"]'),100 ]101 for i in data:102 yield (self.do, ) + i103 def test_span_html_element(self):104 data = [105 ('<html><p><abbr>Text</abbr></p></html>',106 '/div/p/span[@class="html-abbr"][text()="Text"]'),107 ('<html><p><acronym>Text</acronym></p></html>',108 '/div/p/span[@class="html-acronym"][text()="Text"]'),109 ('<html><p><address>Text</address></p></html>',110 '/div/p/span[@class="html-address"][text()="Text"]'),111 ('<html><p><dfn>Text</dfn></p></html>',112 '/div/p/span[@class="html-dfn"][text()="Text"]'),113 ('<html><p><kbd>Text</kbd></p></html>',114 '/div/p/span[@class="html-kbd"][text()="Text"]'),115 ]116 for i in data:117 yield (self.do, ) + i118 def test_link(self):119 data = [120 ('<html><p><a href="http:test">Test</a></p></html>',121 '/div/p/a[text()="Test"][@href="http:test"]'),122 ]123 for i in data:124 yield (self.do, ) + i125 def test_code(self):126 data = [127 ('<html><div><code>Code</code></div></html>',128 '/div/div[code="Code"]'),129 ('<html><div><samp>Code</samp></div></html>',130 '/div/div[code="Code"]'),131 ('<html><pre>Code</pre></html>',132 '/div[pre="Code"]'),133 ('<html><p><tt>Code</tt></p></html>',134 '/div/p[code="Code"]'),135 ]136 for i in data:137 yield (self.do, ) + i138 def test_list(self):139 data = [140 ('<html><div><ul><li>Item</li></ul></div></html>',141 '/div/div/ul[li="Item"]'),142 ('<html><div><ol><li>Item</li></ol></div></html>',143 '/div/div/ol[li="Item"]'),144 ('<html><div><ol type="A"><li>Item</li></ol></div></html>',145 '/div/div/ol[@class="moin-upperalpha-list"][li="Item"]'),146 ('<html><div><ol type="I"><li>Item</li></ol></div></html>',147 '/div/div/ol[@class="moin-upperroman-list"][li="Item"]'),148 ('<html><div><ol type="a"><li>Item</li></ol></div></html>',149 '/div/div/ol[@class="moin-loweralpha-list"][li="Item"]'),150 ('<html><div><ol type="i"><li>Item<li></ol></div></html>',151 '/div/div/ol[@class="moin-lowerroman-list"][li="Item"]'),152 ('<html><div><dl><dt>Label</dt><dd>Item</dd></dl></div></html>',153 '/div/div/dl[dt="Label"][dd="Item"]'),154 ('<html><div><dir><li>Item</li></dir></div></html>',155 '/div/div/ul[li="Item"]'),156 ('<div><ul><li>Item 1</li><p>Pouet</p><li>Item 2</li><li>Item 3</li></ul></div>',157 '/div/div/ul[li[1]="Item 1"][li[2]="Item 2"][li[3]="Item 3"]'),158 # Test for bug with line return and spaces159 ('<div><ul><li>\n Item 1</li>\n<li>\n Item 2</li>\n<li>\n Item 3</li>\n</ul></div>',160 '/div/div/ul[li[1]="\n Item 1"][li[2]="\n Item 2"][li[3]="\n Item 3"]'),161 ('<div><ol><li>\n Item 1</li>\n<li>\n Item 2</li>\n<li>\n Item 3</li>\n</ol></div>',162 '/div/div/ol[li[1]="\n Item 1"][li[2]="\n Item 2"][li[3]="\n Item 3"]'),163 ]164 for i in data:165 yield (self.do, ) + i166 def test_object(self):167 data = [168 # ('<html><div><img src="uri:test" /></div></html>',169 # '/page/body/div/object/@xlink:href="uri:test"'),170 ('<html><div><object data="href"></object></div></html>',171 '/div/div/object[@data="href"]'),172 ]173 for i in data:174 yield (self.do, ) + i175 def test_table(self):176 data = [177 ('<html><div><table><thead><tr><td>Header</td></tr></thead><tfoot><tr><td>Footer</td></tr></tfoot><tbody><tr><td>Cell</td></tr></tbody></table></div></html>',178 '/div/div/table[./thead/tr[td="Header"]][./tfoot/tr[td="Footer"]][./tbody/tr[td="Cell"]]'),179 ('<html><div><table><thead><tr><td>Header</td></tr></thead><tbody><tr><td>Cell</td></tr></tbody><tfoot><tr><td>Footer</td></tr></tfoot></table></div></html>',180 '/div/div/table[./thead/tr[td="Header"]][./tfoot/tr[td="Footer"]][./tbody/tr[td="Cell"]]'),181 ('<html><div><table><tbody><tr><td colspan="2">Cell</td></tr></tbody></table></div></html>',182 '/div/div/table/tbody/tr/td[text()="Cell"][@colspan="2"]'),183 ('<html><div><table><tbody><tr><td rowspan="2">Cell</td></tr></tbody></table></div></html>',184 '/div/div/table/tbody/tr/td[text()="Cell"][@rowspan="2"]'),185 # Test for bug with newline between cell186 ('<div><table>\n<tbody>\n<tr>\n<td>\n Cell 1:1</td>\n<td>\n Cell 1:2</td>\n</tr>\n<tr>\n<td>\n Cell 2:1</td>\n<td>\n Cell 2:2</td>\n</tr>\n</tbody>\n</table></div>',187 '/div/div/table/tbody[tr[1][td[1]="\n Cell 1:1"][td[2]="\n Cell 1:2"]][tr[2][td[1]="\n Cell 2:1"][td[2]="\n Cell 2:2"]]'),188 ]189 for i in data:...
DM_Bot.py
Source:DM_Bot.py
1from selenium import webdriver2from selenium.webdriver.common.keys import Keys3import time4import random5import sys6import os7# * Messaging a particular set of poeple8def print_same_line(text):9 sys.stdout.write('\r')10 sys.stdout.flush()11 sys.stdout.write(text)12 sys.stdout.flush()13def delete_line(user):14 with open(os.path.join(sys.path[0], "potentional_list.txt"), "r+") as f:15 lines = f.readlines()16 f.seek(0)17 # to erase all data18 f.truncate()19 for line in lines:20 if line.strip("\n") != user:21 f.write(line)22class InstagramBot:23 def __init__(self, username, password):24 self.username = username25 self.password = password26 self.driver = webdriver.Chrome(27 executable_path=os.path.abspath('chromedriver.exe'))28 def closeBrowser(self):29 self.driver.close()30 def login(self):31 driver = self.driver32 driver.get("https://www.instagram.com/")33 time.sleep(1)34 # login_button = driver.find_element_by_xpath("//a[@href='/accounts/login/?source=auth_switcher']")35 # login_button.click()36 # time.sleep(2)37 user_name_elem = driver.find_element_by_xpath(38 "//input[@name='username']")39 user_name_elem.clear()40 user_name_elem.send_keys(self.username)41 passworword_elem = driver.find_element_by_xpath(42 "//input[@name='password']")43 passworword_elem.clear()44 passworword_elem.send_keys(self.password)45 passworword_elem.send_keys(Keys.RETURN)46 time.sleep(3)47 driver.get('https://www.instagram.com/')48 # driver.find_element_by_xpath("/html/body/div[1]/section/nav/div[2]/div/div/div[3]/div/div[1]/div/a/svg").click()49 time.sleep(2)50 driver.find_element_by_xpath(51 '/html/body/div[4]/div/div/div/div[3]/button[2] ').click()52 def like_photo(self, user):53 driver = self.driver54 time.sleep(2)55 driver.get("https://www.instagram.com/" + user + "/")56 time.sleep(2)57 # * Write your messages58 message1 = u'you have an Amazing feed \u2764'59 message2 = u'Check out my profile too'60 message3 = 'follow for follow'61 # follow the user62 try:63 driver.find_element_by_xpath(64 '/html/body/div[1]/section/main/div/header/section/div[1]/div[1]/span/span[1]/button').click()65 time.sleep(3)66 # message button67 driver.find_element_by_xpath(68 '/html/body/div[1]/section/main/div/header/section/div[1]/div[1]/div/button').click()69 time.sleep(2)70 driver.find_element_by_xpath(71 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea').click()72 time.sleep(1)73 # driver.find_element_by_xpath('/html/body/div[4]/div/div/div[3]/button[2]').click()74 # time.sleep(1)75 driver.find_element_by_xpath(76 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea').send_keys(message1)77 driver.find_element_by_xpath(78 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[3]/button').click()79 time.sleep(1)80 driver.find_element_by_xpath(81 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea').send_keys(message2)82 driver.find_element_by_xpath(83 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[3]/button').click()84 time.sleep(1)85 driver.find_element_by_xpath(86 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[2]/textarea').send_keys(message3)87 driver.find_element_by_xpath(88 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[2]/div/div[2]/div/div/div[3]/button').click()89 time.sleep(1)90 driver.find_element_by_xpath(91 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div[1]/div/div/div[3]/button').click()92 driver.find_element_by_xpath(93 '/html/body/div[1]/section/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[1]/button').click()94 # gathering photos95 driver.get("https://www.instagram.com/" + user + "/")96 time.sleep(2)97 pic_hrefs = []98 try:99 driver.execute_script(100 "window.scrollTo(0, document.body.scrollHeight);")101 time.sleep(2)102 # get tags103 hrefs_in_view = driver.find_elements_by_tag_name('a')104 # finding relevant hrefs105 hrefs_in_view = [elem.get_attribute('href') for elem in hrefs_in_view106 if '.com/p/' in elem.get_attribute('href')]107 # building list of unique photos108 [pic_hrefs.append(href)109 for href in hrefs_in_view if href not in pic_hrefs]110 # print("Check: pic href length " + str(len(pic_hrefs)))111 except:112 pass113 # Liking photos114 i = 0115 while(i < 10):116 for pic_href in pic_hrefs[:11]:117 driver.get(pic_href)118 time.sleep(2)119 heart = driver.find_element_by_xpath(120 '//*[@class="_8-yf5 "]').get_attribute('aria-label')121 if heart == 'Like':122 try:123 # time.sleep(2)124 like = driver.find_element_by_xpath(125 '/html/body/div[1]/section/main/div/div[1]/article/div[2]/section[1]/span[1]/button')126 like.click()127 time.sleep(2)128 i += 1129 except Exception as e:130 time.sleep(2)131 else:132 i += 1133 continue134 delete_line(user)135 except:136 pass137if __name__ == "__main__":138 username = "" # * Enter your Username139 password = "" # * Enter your Password140 ig = InstagramBot(username, password)141 ig.login()142 user = [line.rstrip('\n') for line in open(143 os.path.join(sys.path[0], "potentional_list.txt"))]144 for i in user:...
test_target.py
Source:test_target.py
1"""2 weasyprint.tests.test_target3 ----------------------------4 Test the CSS cross references using target-*() functions.5"""6from .testing_utils import FakeHTML, assert_no_logs7@assert_no_logs8def test_target_counter():9 document = FakeHTML(string='''10 <style>11 div:first-child { counter-reset: div }12 div { counter-increment: div }13 #id1::before { content: target-counter('#id4', div) }14 #id2::before { content: 'test ' target-counter('#id1' div) }15 #id3::before { content: target-counter(url(#id4), div, lower-roman) }16 #id4::before { content: target-counter('#id3', div) }17 </style>18 <body>19 <div id="id1"></div>20 <div id="id2"></div>21 <div id="id3"></div>22 <div id="id4"></div>23 ''')24 page, = document.render().pages25 html, = page._page_box.children26 body, = html.children27 div1, div2, div3, div4 = body.children28 before = div1.children[0].children[0].children[0]29 assert before.text == '4'30 before = div2.children[0].children[0].children[0]31 assert before.text == 'test 1'32 before = div3.children[0].children[0].children[0]33 assert before.text == 'iv'34 before = div4.children[0].children[0].children[0]35 assert before.text == '3'36@assert_no_logs37def test_target_counter_attr():38 document = FakeHTML(string='''39 <style>40 div:first-child { counter-reset: div }41 div { counter-increment: div }42 div::before { content: target-counter(attr(data-count), div) }43 #id2::before { content: target-counter(attr(data-count, url), div) }44 #id4::before {45 content: target-counter(attr(data-count), div, lower-alpha) }46 </style>47 <body>48 <div id="id1" data-count="#id4"></div>49 <div id="id2" data-count="#id1"></div>50 <div id="id3" data-count="#id2"></div>51 <div id="id4" data-count="#id3"></div>52 ''')53 page, = document.render().pages54 html, = page._page_box.children55 body, = html.children56 div1, div2, div3, div4 = body.children57 before = div1.children[0].children[0].children[0]58 assert before.text == '4'59 before = div2.children[0].children[0].children[0]60 assert before.text == '1'61 before = div3.children[0].children[0].children[0]62 assert before.text == '2'63 before = div4.children[0].children[0].children[0]64 assert before.text == 'c'65@assert_no_logs66def test_target_counters():67 document = FakeHTML(string='''68 <style>69 div:first-child { counter-reset: div }70 div { counter-increment: div }71 #id1-2::before { content: target-counters('#id4-2', div, '.') }72 #id2-1::before { content: target-counters(url(#id3), div, '++') }73 #id3::before {74 content: target-counters('#id2-1', div, '.', lower-alpha) }75 #id4-2::before {76 content: target-counters(attr(data-count, url), div, '') }77 </style>78 <body>79 <div id="id1"><div></div><div id="id1-2"></div></div>80 <div id="id2"><div id="id2-1"></div><div></div></div>81 <div id="id3"></div>82 <div id="id4">83 <div></div><div id="id4-2" data-count="#id1-2"></div>84 </div>85 ''')86 page, = document.render().pages87 html, = page._page_box.children88 body, = html.children89 div1, div2, div3, div4 = body.children90 before = div1.children[1].children[0].children[0].children[0]91 assert before.text == '4.2'92 before = div2.children[0].children[0].children[0].children[0]93 assert before.text == '3'94 before = div3.children[0].children[0].children[0]95 assert before.text == 'b.a'96 before = div4.children[1].children[0].children[0].children[0]97 assert before.text == '12'98@assert_no_logs99def test_target_text():100 document = FakeHTML(string='''101 <style>102 a { display: block; color: red }103 div:first-child { counter-reset: div }104 div { counter-increment: div }105 #id2::before { content: 'wow' }106 #link1::before { content: 'test ' target-text('#id4') }107 #link2::before { content: target-text(attr(data-count, url), before) }108 #link3::before { content: target-text('#id3', after) }109 #link4::before { content: target-text(url(#id1), first-letter) }110 </style>111 <body>112 <a id="link1"></a>113 <div id="id1">1 Chapter 1</div>114 <a id="link2" data-count="#id2"></a>115 <div id="id2">2 Chapter 2</div>116 <div id="id3">3 Chapter 3</div>117 <a id="link3"></a>118 <div id="id4">4 Chapter 4</div>119 <a id="link4"></a>120 ''')121 page, = document.render().pages122 html, = page._page_box.children123 body, = html.children124 a1, div1, a2, div2, div3, a3, div4, a4 = body.children125 before = a1.children[0].children[0].children[0]126 assert before.text == 'test 4 Chapter 4'127 before = a2.children[0].children[0].children[0]128 assert before.text == 'wow'129 assert len(a3.children[0].children[0].children) == 0130 before = a4.children[0].children[0].children[0]131 assert before.text == '1'132@assert_no_logs133def test_target_float():134 document = FakeHTML(string='''135 <style>136 a::after {137 content: target-counter('#h', page);138 float: right;139 }140 </style>141 <div><a id="span">link</a></div>142 <h1 id="h">abc</h1>143 ''')144 page, = document.render().pages145 html, = page._page_box.children146 body, = html.children147 div, h1 = body.children148 line, = div.children149 inline, = line.children150 text_box, after = inline.children151 assert text_box.text == 'link'...
Petclinic.py
Source:Petclinic.py
1class PetObjects(object):2 ProjectName = 'Petclinic Test Automation'3 filename = 'notes'4 Release_Name = 'Petclinic'5 HomePage = {6 "Home": "xpath=//*[@id='main-navbar']/ul/li[1]/a",7 "Welcome": "xpath=/html/body/div/div/div[1]/div/img",8 "Spring": "xpath=/html/body/div/div/div[2]/div/div/img",9 "FullPage": "xpath=/html/body/div/div/div[1]/div"10 }11 FindOwners = {12 "FindOwnersLink": "xpath=//*[@id='main-navbar']/ul/li[3]/a",13 "Find Owners": "xpath=/html/body/div/div/h2",14 "Last name": "xpath=//*[contains(text(),'Last name')] | //*[contains(text(),'Last/First name')]",15 "Input": "xpath=//input[@id='lastName']",16 "FindOwnerButton": "xpath=//*[@id='search-owner-form']/div[2]/div/button"17 }18 AddingOwner = {19 "AddOwner": "xpath=/html/body/div/div/a",20 "New Owner": "xpath=/html/body/div/div/h2",21 "FirstName": "xpath=//*[@id='add-owner-form']/div[1]/div[1]/label",22 "FirstNameText": "xpath=//input[@id='firstName']",23 "Last Name": "xpath=//*[@id='add-owner-form']/div[1]/div[2]/label",24 "LastNameText": "xpath=//input[@id='lastName']",25 "Address": "xpath=//*[@id='add-owner-form']/div[1]/div[3]/label",26 "AddressText": "xpath=//input[@id='address']",27 "City": "xpath=//*[@id='add-owner-form']/div[1]/div[4]/label",28 "CityText": "xpath=//input[@id='city']",29 "Telephone": "xpath=//*[@id='add-owner-form']/div[1]/div[5]/label",30 "TelephoneNumber": "xpath=//input[@id='telephone']",31 "Add Owner": "xpath=//*[@id='add-owner-form']/div[2]/div/button",32 "Owner Information": "xpath=/html/body/div/div",33 "Pet and visits": "xpath=/html/body/div/div/h2[2]",34 "spring": "xpath=/html/body/div/div/div/div/div/img"35 }36 CheckingInformation = {37 "OwnerInformation": "xpath=/html/body/div/div",38 "Name": "xpath=/html/body/div/div/h2[1]",39 "Address": "xpath=/html/body/div/div/table[1]/tbody/tr[2]/th",40 "City": "xpath=/html/body/div/div/table[1]/tbody/tr[3]/th",41 "Telephone": "xpath=/html/body/div/div/table[1]/tbody/tr[4]/th"42 }43 AddingNewPet = {44 "Add New Pet": "xpath=/html/body/div/div/a[2]",45 "New Pet Display": "xpath=/html/body/div/div/h2",46 "Owner": "xpath=/html/body/div/div/form/div[1]/div[1]/label",47 "Name": "xpath=/html/body/div/div/form/div[1]/div[1]/div/span",48 "PetName": "xpath=//input[@id='name']",49 "Birth date": "xpath=/html/body/div/div/form/div[1]/div[3]/label",50 "BirthDate": "xpath=//input[@id='birthDate']",51 "Add pet": "xpath=/html/body/div/div/form/div[2]/div/button",52 "Type": "xpath=//*[@id='type']/option[3]",53 "Pet and Visits": "xpath=/html/body/div/div/h2[2]",54 "Valign": "xpath=/html/body/div/div/table[2]/tbody/tr/td[1]",55 "VisitDate": "xpath=/html/body/div/div/table[2]/tbody/tr/td[2]/table/thead/tr/th[1]",56 "Description": "xpath=/html/body/div/div/table[2]/tbody/tr/td[2]/table/thead/tr/th[2]",57 "EditPet": "xpath=/html/body/div/div/table[2]/tbody/tr/td[2]/table/tbody/tr/td[1]",58 "AddVisit": "xpath=/html/body/div/div/table[2]/tbody/tr/td[2]/table/tbody/tr/td[2]/a",59 "UpdatePet": "xpath=//*[@id='pet']/div[2]/div/button",60 "display": "xpath=/html/body/div[1]/div",61 "Description1": "xpath=//*[@id=description']",62 "Add Visit": "xpath=//*[@id='visit']/div[2]/div/button"63 }64 AddOwner = {65 "FirstName": "xpath=//*[@id='add-owner-form']/div[1]/div[1]/div/span[2]"66 }67 AddingPet = {68 "PetName": "xpath=/html/body/div/div/form/div[1]/div[2]/div/span[2]"69 }70 FailedInput = {71 "LastName": "xpath=//*[@id='lastNameGroup']/div/span/div/p"72 }73 EditingOwner = {74 "Edit Owner": "xpath=/html/body/div/div/a[1]",75 "Update Owner": "xpath=//*[@id='add-owner-form']/div[2]/div/button"76 }77 ValidateName = {78 "NameValidate": "xpath=//*[@id='ownersTable']/tbody/tr[38]/td[1]/a",79 "AddressValidate": "xpath=//*[@id='ownersTable']/tbody/tr[38]/td[2]",80 "Results": "xpath=/html/body/div/div"81 }...
test.py
Source:test.py
1print "Content-type: text/html\n\n"2print """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">3<html>4 <head>5 <title></title>6 <link rel="stylesheet" type="text/css" href="/css/winxp.blue.css" />7 <link rel="stylesheet" type="text/css" href="/css/tabs.css" />8 </head>9<body>10<div class="screenLayout">11<div class="headerContainer">12 <div class="pageHeader">13 <div>14 <a target="_blank" href="http://www.swsoft.com/plesk/" title="Plesk™" class="topLogo"><img src="/img/common/logo.gif" name="logo" height="50" border="0" width="210" title="Plesk™"></a>15 <div id="topTxtBlock">16 <span id="topCopyright"><a href="http://www.swsoft.com" target="_blank">© Copyright 1999-2007, SWsoft Holdings, Ltd.<br/> All rights reserved</a></span>17 </div>18 </div>19 </div>20</div>21<div class="contentLayout">22 <div class="contentContainer">23 <div class="pageContent">24 <div class="pathBar"><a href="/index.html">Site Home Page</a> ></div>25 <div class="screenTitle">Python possibilities test page</div>26 <br/>27 <div id="screenTabs">28 <div id="tabs">29 <ul>30 <li id="current" class="first"><a href="test.php"><span>Environment</span></a></li>31 </ul>32 </div>33 </div>34 <div class="tabContent">35 <p>This page allows to check the possibility to get the extension environment settings.</p>36 <div class="formContainer">37 <fieldset>38 <legend>Evironment</legend>39 40 <p>41 <table class="formFields" cellspacing="0" width="100%">42 <tr><td>43 <iframe src="test_info.py" height ="320px" width="100%"></iframe>44 </td></tr>45 </table>46 </p>47 48 </fieldset>49 </div>50 </div>51 </div>52 </div>53</div>54<div class="footerContainer">55 <div class="footDescription">This page is autogenerated by <a target="_blank" href="http://www.swsoft.com/en/products/plesk/">Plesk</a>™</div>56 <div class="poweredBy"><a target="_blank" href="http://www.swsoft.com/en/products/plesk/"><img src="/img/common/pb_plesk.gif" title="Plesk™"/></a></div>57 <div class="poweredBy"><a target="_blank" href="http://www.swsoft.com/en/products/virtuozzo/"><img src="/img/common/pb_virt.gif" title="Virtuozzo™"/></a></div>58</div>59</div>60</body>...
Using AI Code Generation
1import { MockBuilder, MockRender, ngMocks } from 'ng-mocks';2import { MyComponent } from './my.component';3import { MyModule } from './my.module';4describe('MyComponent', () => {5 beforeEach(() => MockBuilder(MyComponent, MyModule));6 it('finds div', () => {7 const fixture = MockRender(MyComponent);8 expect(ngMocks.find('div[data-test]')).toBeDefined();9 expect(ngMocks.find('div[data-test="test"]')).toBeDefined();10 expect(ngMocks.find('div[data-test]', 'test')).toBeDefined();11 expect(ngMocks.find('div[data-test="test"]')).toBeDefined();12 expect(ngMocks.find('div[data-test]', 'test')).toBeDefined();13 expect(14 ngMocks.find('div[data-test="test"]', {15 }),16 ).toBeDefined();17 expect(18 ngMocks.find('div[data-test]', {19 }),20 ).toBeDefined();21 expect(22 ngMocks.find('div[data-test="test"]', {23 }),24 ).toBeDefined();25 expect(26 ngMocks.find('div[data-test]', {27 }),28 ).toBeDefined();29 expect(30 ngMocks.find('div[data-test="test"]', {31 }),32 ).toBeDefined();33 expect(34 ngMocks.find('div[data-test]', {35 }),36 ).toBeDefined();37 expect(38 ngMocks.find('div[data-test="test"]', {39 }),40 ).toBeDefined();41 expect(42 ngMocks.find('div[data-test]', {
Using AI Code Generation
1import { MockBuilder, MockRender } from 'ng-mocks';2import { AppComponent } from './app.component';3import { AppModule } from './app.module';4beforeEach(() => MockBuilder(AppComponent, AppModule));5it('renders the component', () => {6 const fixture = MockRender(AppComponent);7 expect(fixture.point.componentInstance).toBeDefined();8});9import { MockBuilder, MockInstance } from 'ng-mocks';10import { AppComponent } from './app.component';11import { AppModule } from './app.module';12beforeEach(() => MockBuilder(AppComponent, AppModule));13it('renders the component', () => {14 const component = MockInstance(AppComponent);15 expect(component).toBeDefined();16});
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!