-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdingtie.py
212 lines (165 loc) · 60.9 KB
/
dingtie.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
from selenium import webdriver
import time
import pandas as pd
import datetime
import json
import requests
import os.path as Path
from bs4 import BeautifulSoup
# https://www.douban.com/group/642236/
# https://www.douban.com/group/707669
# with open('data/cookies.json',encoding='utf8') as f1:
# #加载文件的对象
# # py_list = json.load(f1)
# cookies = {x['name']: x['value'] for x in json.load(f1)}
# cookie_list=driver.get_cookies()
#
# cookies =";".join([item +"=" + cookies[item] +"" for item in cookies.keys()])
# print("b"+cookies)
cookie1 = "ll=\"108288\"; bid=7GpWuc4OQyM; __utma=30149280.409343374.1672714901.1672714901.1672714901.1; __utmc=30149280; __utmz=30149280.1672714901.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); dbcl2=\"140005612:UNql5Lve3mg\"; ck=2i__; push_noty_num=0; push_doumail_num=0; __utmv=30149280.14000; __yadk_uid=wL3fTCa49bhygl9FstWZFPQZuG2c5RpN; douban-fav-remind=1; _pk_id.100001.8cb4=9264eb45c4345e76.1672714900.1.1672715797.1672714900."
# print(cookie)
# cookie="ll=\"108288\"; bid=dDMMFxNh_y0; _pk_ses.100001.8cb4=*; __utma=30149280.1639651790.1672302648.1672302648.1672302648.1; __utmc=30149280; __utmz=30149280.1672302648.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmt=1; dbcl2=\"140005612:U1zhcJlWzW0\"; ck=T_pG; ap_v=0,6.0; push_noty_num=0; push_doumail_num=0; __utmv=30149280.14000; __yadk_uid=ItOMXOTiKjjFV7B4kMqJPzQUy5bGSMLu; douban-fav-remind=1; _pk_id.100001.8cb4=48c32bce946dc4e1.1672302648.1.1672302950.1672302648.; __utmb=30149280.12.7.1672302949913"
# cookie="douban-fav-remind=1; __yadk_uid=ItOMXOTiKjjFV7B4kMqJPzQUy5bGSMLu; __utmv=30149280.14000; push_doumail_num=0; push_noty_num=0; ap_v=0,6.0; __utmb=30149280.3.10.1672302648; __utmz=30149280.1672302648.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _pk_id.100001.8cb4=48c32bce946dc4e1.1672302648.1.1672302655.1672302648.; ck=T_pG; __utmt=1; dbcl2=\"140005612:U1zhcJlWzW0\"; __utmc=30149280; __utma=30149280.1639651790.1672302648.1672302648.1672302648.1; _pk_ses.100001.8cb4=*; bid=dDMMFxNh_y0; ll=\"108288\""
# cokie="douban-fav-remind=1; ll=\"108288\"; bid=5Z-fX5U2XPI; __utmc=30149280; __yadk_uid=7TPnyXnAad8IRoiCHFh9ZDw3Xc2GRQ4L; __utmz=30149280.1672288398.13.2.utmcsr=accounts.douban.com|utmccn=(referral)|utmcmd=referral|utmcct=/; frodotk_db=\"129554e3858a230037bffeaa909e6900\"; _pk_ref.100001.8cb4=%5B%22%22%2C%22%22%2C1672296772%2C%22https%3A%2F%2Faccounts.douban.com%2F%22%5D; _pk_ses.100001.8cb4=*; ap_v=0,6.0; __utma=30149280.1662088207.1634110102.1672293900.1672296772.15; __utmt=1; dbcl2=\"257220224:sWQl98MlbWg\"; ck=JIAp; push_noty_num=0; push_doumail_num=0; __utmv=30149280.25722; _pk_id.100001.8cb4=47136e70f8f6a6f7.1634110101.15.1672297067.1672294595.; __utmb=30149280.19.4.1672297067098"
#
headers={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36",
"Cookie":cookie1}
urls=["https://www.douban.com/group/topic/271400586/add_comment","https://www.douban.com/group/topic/272016212/add_comment"]
# params = {
# "ck": cookies["ck"],
# "rv_comment": "--"
# }
# print(params)
# for u in urls:
# r= requests.post(u,headers=headers,data=params)
# print(r.text)
import random
import os
index=16
rc=["girlname","girlnum","orgname","orglink","location","popnum","time"]
lines=set()
all_df_path="data/douyou/alread.csv"
alreadydf= pd.DataFrame(columns=rc)
if os.path.exists(all_df_path):
alreadydf = pd.read_csv(all_df_path)
for i in range(0,1000):
page ="https://www.douban.com/group/642236/discussion?start={}&type=new".format(index*25)
print(page) # 打印每一页的地址
# headers = create_headers()
s = requests.session()
s.keep_alive = False # 关闭多余连接
# BaseSpider.random_delay()
time.sleep(random.randint(0, 16))
response = requests.get(page, timeout=10, headers=headers)
html = response.content
# demohtml="b'<!DOCTYPE html>\n<html lang=\"zh-CN\" class=\"ua-windows ua-webkit\">\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <meta name="renderer" content="webkit">\n <meta name="referrer" content="always">\n <meta name="google-site-verification" content="ok0wCgT20tBBgo9_zat2iAcimtN4Ftf5ccsh092Xeyw" />\n <title>\n \xe4\xbb\x8a\xe5\xa4\xa9\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88\xe5\xb0\x8f\xe7\xbb\x84\n</title>\n \n \n <meta http-equiv="Pragma" content="no-cache">\n <meta http-equiv="Expires" content="Sun, 6 Mar 2005 01:00:00 GMT">\n \n \n <meta http-equiv="Cache-Control" content="no-siteapp" />\n \n\n\n <script >var _head_start = new Date();</script>\n <script src="https://img1.doubanio.com/f/shire/72ced6df41d4d158420cebdd254f9562942464e3/js/jquery.min.js"></script>\n <script src="https://img1.doubanio.com/f/shire/4888ee2fda6812f70a064a51c93b84fde8e4a3c2/js/douban.js"></script>\n <link href="https://img1.doubanio.com/f/shire/204847ecc7d679de915c283531d14f16cfbee65e/css/douban.css" rel="stylesheet" type="text/css">\n <style type="text/css">\n \n \n </style>\n \n <link rel="stylesheet" href="https://img1.doubanio.com/misc/mixed_static/742901cec376eb4e.css">\n <script></script>\n\n <link rel="stylesheet" href="https://img1.doubanio.com/f/group/2f4c6f83940e2bbb76f5a23a7d987b9093919799/css/group/init.css">\n\n <link rel="shortcut icon" href="https://img1.doubanio.com/favicon.ico" type="image/x-icon">\n</head>\n\n<body>\n \n \n <script type="text/javascript">var _body_start = new Date();</script>\n \n \n\n\n\n <link href="//img3.doubanio.com/dae/accounts/resources/2249ebe/shire/bundle.css" rel="stylesheet" type="text/css">\n\n\n\n<div id="db-global-nav" class="global-nav">\n <div class="bd">\n \n<div class="top-nav-info">\n <ul>\n <li>\n <a id="top-nav-doumail-link" href="https://www.douban.com/doumail/">\xe8\xb1\x86\xe9\x82\xae</a>\n </li>\n <li class="nav-user-account">\n <a target="_blank" href="https://accounts.douban.com/passport/setting/" class="bn-more">\n <span>\xe6\x9b\xbc\xe5\xbd\xbb\xe6\x96\xaf\xe7\x89\xb9\xe7\x9a\x84\xe5\x86\xac\xe5\xa4\xa9\xe7\x9a\x84\xe5\xb8\x90\xe5\x8f\xb7</span><span class="arrow"></span>\n </a>\n <div class="more-items">\n <table cellpadding="0" cellspacing="0">\n <tbody>\n <tr>\n <td>\n <a href="https://www.douban.com/mine/">\xe4\xb8\xaa\xe4\xba\xba\xe4\xb8\xbb\xe9\xa1\xb5</a>\n </td>\n </tr>\n <tr>\n <td>\n <a target="_blank" href="https://www.douban.com/mine/orders/">\xe6\x88\x91\xe7\x9a\x84\xe8\xae\xa2\xe5\x8d\x95</a>\n </td>\n </tr>\n <tr>\n <td>\n <a target="_blank" href="https://www.douban.com/mine/wallet/">\xe6\x88\x91\xe7\x9a\x84\xe9\x92\xb1\xe5\x8c\x85</a>\n </td>\n </tr>\n <tr>\n <td>\n <a target="_blank" href="https://accounts.douban.com/passport/setting/">\xe5\xb8\x90\xe5\x8f\xb7\xe7\xae\xa1\xe7\x90\x86</a>\n </td>\n </tr>\n <tr>\n <td>\n <a href="https://www.douban.com/accounts/logout?source=group&ck=JIAp">\xe9\x80\x80\xe5\x87\xba</a>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </li>\n </ul>\n</div>\n\n <div class="top-nav-reminder">\n <a href="https://www.douban.com/notification/" class="lnk-remind">\xe6\x8f\x90\xe9\x86\x92</a>\n <div id="top-nav-notimenu" class="more-items">\n <div class="bd">\n <p>\xe5\x8a\xa0\xe8\xbd\xbd\xe4\xb8\xad...</p>\n </div>\n </div>\n </div>\n\n <div class="top-nav-doubanapp">\n <a href="https://www.douban.com/doubanapp/app?channel=top-nav" class="lnk-doubanapp">\xe4\xb8\x8b\xe8\xbd\xbd\xe8\xb1\x86\xe7\x93\xa3\xe5\xae\xa2\xe6\x88\xb7\xe7\xab\xaf</a>\n <div id="doubanapp-tip">\n <a href="https://www.douban.com/doubanapp/app?channel=qipao" class="tip-link">\xe8\xb1\x86\xe7\x93\xa3 <span class="version">6.0</span> \xe5\x85\xa8\xe6\x96\xb0\xe5\x8f\x91\xe5\xb8\x83</a>\n <a href="javascript: void 0;" class="tip-close">\xc3\x97</a>\n </div>\n <div id="top-nav-appintro" class="more-items">\n <p class="appintro-title">\xe8\xb1\x86\xe7\x93\xa3</p>\n <p class="qrcode">\xe6\x89\xab\xe7\xa0\x81\xe7\x9b\xb4\xe6\x8e\xa5\xe4\xb8\x8b\xe8\xbd\xbd</p>\n <div class="download">\n <a href="https://www.douban.com/doubanapp/redirect?channel=top-nav&direct_dl=1&download=iOS">iPhone</a>\n <span>\xc2\xb7</span>\n <a href="https://www.douban.com/doubanapp/redirect?channel=top-nav&direct_dl=1&download=Android" class="download-android">Android</a>\n </div>\n </div>\n</div>\n\n \n\n\n<div class="global-nav-items">\n <ul>\n <li class="">\n <a href="https://www.douban.com" target="_blank" data-moreurl-dict="{"from":"top-nav-click-main","uid":"257220224"}">\xe8\xb1\x86\xe7\x93\xa3</a>\n </li>\n <li class="">\n <a href="https://book.douban.com" target="_blank" data-moreurl-dict="{"from":"top-nav-click-book","uid":"257220224"}">\xe8\xaf\xbb\xe4\xb9\xa6</a>\n </li>\n <li class="">\n <a href="https://movie.douban.com" target="_blank" data-moreurl-dict="{"from":"top-nav-click-movie","uid":"257220224"}">\xe7\x94\xb5\xe5\xbd\xb1</a>\n </li>\n <li class="">\n <a href="https://music.douban.com" target="_blank" data-moreurl-dict="{"from":"top-nav-click-music","uid":"257220224"}">\xe9\x9f\xb3\xe4\xb9\x90</a>\n </li>\n <li class="">\n <a href="https://www.douban.com/location" target="_blank" data-moreurl-dict="{"from":"top-nav-click-location","uid":"257220224"}">\xe5\x90\x8c\xe5\x9f\x8e</a>\n </li>\n <li class="on">\n <a href="https://www.douban.com/group" data-moreurl-dict="{"from":"top-nav-click-group","uid":"257220224"}">\xe5\xb0\x8f\xe7\xbb\x84</a>\n </li>\n <li class="">\n <a href="https://read.douban.com/?dcs=top-nav&dcm=douban" target="_blank" data-moreurl-dict="{"from":"top-nav-click-read","uid":"257220224"}">\xe9\x98\x85\xe8\xaf\xbb</a>\n </li>\n <li class="">\n <a href="https://douban.fm/?from_=shire_top_nav" target="_blank" data-moreurl-dict="{"from":"top-nav-click-fm","uid":"257220224"}">FM</a>\n </li>\n <li class="">\n <a href="https://time.douban.com/?dt_time_source=douban-web_top_nav" target="_blank" data-moreurl-dict="{"from":"top-nav-click-time","uid":"257220224"}">\xe6\x97\xb6\xe9\x97\xb4</a>\n </li>\n <li class="">\n <a href="https://market.douban.com/?utm_campaign=douban_top_nav&utm_source=douban&utm_medium=pc_web" target="_blank" data-moreurl-dict="{"from":"top-nav-click-market","uid":"257220224"}">\xe8\xb1\x86\xe5\x93\x81</a>\n </li>\n </ul>\n</div>\n\n </div>\n</div>\n<script>\n ;window._GLOBAL_NAV = {\n USER_ID: "257220224",\n UPLOAD_AUTH_TOKEN: "257220224:ccddd007f9596f7ace4c1d31dbc270bca3b2ad23",\n SSE_TOKEN: "13ce25c8db5be8d4d59d06fd2b934bd31c19d1ed",\n SSE_TIMESTAMP: "1672313285",\n DOUBAN_URL: "https://www.douban.com",\n N_NEW_NOTIS: 0,\n N_NEW_DOUMAIL: 0\n };\n</script>\n\n\n\n <script src="//img3.doubanio.com/dae/accounts/resources/2249ebe/shire/bundle.js" defer="defer"></script>\n\n\n\n\n \n \n\n\n\n\n\n\n\n<div id="db-nav-group" class="nav">\n <link rel="stylesheet" href="https://img1.doubanio.com/f/shire/e058928aa925da8352ac2bd0033de230b976fff0/css/nav/base.css">\n <link rel="stylesheet" href="https://img1.doubanio.com/f/shire/6e06c8a68fbae26c9457a01270b096f9950afe61/css/nav/group.css">\n <div class="nav-wrap">\n <div class="nav-primary clearfix">\n <div class="nav-logo">\n <a href="https://www.douban.com/group/">\xe8\xb1\x86\xe7\x93\xa3\xe5\xb0\x8f\xe7\xbb\x84</a>\n </div>\n\n <div class="nav-items">\n <ul>\n \n <li class="nav-item-first"><a href="https://www.douban.com/group/">\xe6\x88\x91\xe7\x9a\x84\xe5\xb0\x8f\xe7\xbb\x84</a></li>\n <li><a href="https://www.douban.com/group/explore">\xe7\xb2\xbe\xe9\x80\x89</a></li>\n <li><a href="https://www.douban.com/group/explore/culture">\xe6\x96\x87\xe5\x8c\x96</a></li>\n <li><a href="https://www.douban.com/group/explore/travel">\xe8\xa1\x8c\xe6\x91\x84</a></li>\n <li><a href="https://www.douban.com/group/explore/fashion">\xe6\x97\xb6\xe5\xb0\x9a</a></li>\n <li><a href="https://www.douban.com/group/explore/life">\xe7\x94\x9f\xe6\xb4\xbb</a></li>\n <li><a href="https://www.douban.com/group/explore/tech">\xe7\xa7\x91\xe6\x8a\x80</a></li>\n </ul>\n </div>\n\n <div class="nav-search">\n <form id=\'form\' action="https://www.douban.com/group/search" method="get">\n <fieldset>\n <legend>\xe6\x90\x9c\xe7\xb4\xa2\xef\xbc\x9a</legend>\n \n <input type="hidden" name="cat" value="1019" />\n <label for="inp-query">\xe5\xb0\x8f\xe7\xbb\x84\xe3\x80\x81\xe8\xaf\x9d\xe9\xa2\x98</label>\n <div class="inp"><input id="inp-query" name="q" size="22" maxlength="60" value=""></div>\n <div class="inp-btn"><input type="submit" value="\xe6\x90\x9c\xe7\xb4\xa2"></div>\n </fieldset>\n </form>\n </div>\n </div>\n </div>\n\n</div>\n\n<script>\nDo(function(){\n var nav = $(\'#db-nav-group\');\n var inp=$("#inp-query"),label=inp.closest(".nav-search").find("label");inp[0]&&"placeholder"in inp[0]?(label.hide(),inp.attr("placeholder",label.text())):(""!==inp.val()&&label.hide(),inp.parent().click(function(){inp.focus(),label.hide()}).end().focusin(function(){label.hide()}).focusout(function(){""===$.trim(this.value)?label.show():label.hide()}).keydown(function(){label.hide()})),inp.parents("form").submit(function(){if(!$.trim(inp.val()).length)return!1}),nav.find(".lnk-more, .lnk-account").click(function(n){n.preventDefault();var i,e=$(this),t=e.hasClass("lnk-more")?$("#db-productions"):$("#db-usr-setting");t.data("init")||(i=e.offset(),t.css({"margin-left":i.left-$(window).width()/2-t.width()+e.width()+parseInt(e.css("padding-right"),10)+"px",left:"50%",top:i.top+e.height()+"px"}),t.data("init",1),t.hide(),$("body").click(function(n){var i=$(n.target);i.hasClass("lnk-more")||i.hasClass("lnk-account")||i.closest("#db-usr-setting").length||i.closest("#db-productions").length||t.hide()})),"none"===t.css("display")?($(".dropdown").hide(),t.show()):$(".dropdown").hide()});\n});\n</script>\n\n\n\n\n <div id="wrapper">\n \n\n \n<div id="content">\n \n <h1>\n \xe6\x9b\xb4\xe5\xa4\x9a\xe5\xb0\x8f\xe7\xbb\x84\xe8\xae\xa8\xe8\xae\xba\n</h1>\n\n <div class="grid-16-8 clearfix">\n \n \n <div class="article">\n \n \n\n \n\n <div id="group-new-topic-bar" class="discussion">\n\n <span class="tipwrap" style="margin-bottom:1em;float:right;">\n <a class="rr j dui-button secondary apricot s btn-post " onclick="tip_win(this)">\n \xe5\x8f\x91\xe8\xa8\x80\n </a>\n <div class="blocktip group_say">\n <div class="blocktip_content group_say_content">\n <a onclick="tip_win.hide(this)" class="blocktip_close">X</a>\n <div>\xe5\x8f\xaa\xe6\x9c\x89\xe5\xb0\x8f\xe7\xbb\x84\xe6\x88\x90\xe5\x91\x98\xe6\x89\x8d\xe8\x83\xbd\xe5\x8f\x91\xe8\xa8\x80\xef\xbc\x8c\xe8\xaf\xb7\xe5\x85\x88\xe5\x8a\xa0\xe5\x85\xa5\xe5\xb0\x8f\xe7\xbb\x84</div>\n </div>\n <div class="btns">\n <input onclick="tip_win.hide(this)"\n class="dui-button xs"\n type="button" value="\xe7\x9f\xa5\xe9\x81\x93\xe4\xba\x86"/>\n </div>\n </div>\n </span>\n </div>\n\n <div class="">\n \n\n\n\n\n\n \n\n <table class="olt">\n <tr class="th">\n <td>\xe8\xae\xa8\xe8\xae\xba</td>\n <td>\xe4\xbd\x9c\xe8\x80\x85</td><td class="r-count" nowrap="nowrap">\xe5\x9b\x9e\xe5\xba\x94</td><td align="right">\xe6\x9c\x80\xe5\x90\x8e\xe5\x9b\x9e\xe5\xba\x94</td>\n </tr>\n \n \n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280387024/" title="\xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe5\x8f\xaf\xe4\xbb\xa5\xe6\x8a\x8a\xe4\xbd\xa0\xe4\xbb\xac\xe6\x9c\x80\xe7\x88\xb1\xe7\x9a\x84\xe7\xa9\xbf\xe6\x88\xb4\xe7\x94\xb2\xe7\xa0\xb8\xe5\x90\x91\xe6\x88\x91\xe5\x90\x97" class="">\n \xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe5\x8f\xaf\xe4\xbb\xa5\xe6\x8a\x8a\xe4\xbd\xa0\xe4\xbb\xac\xe6\x9c\x80\xe7\x88\xb1\xe7\x9a\x84\xe7\xa9\xbf\xe6\x88\xb4\xe7\x94\xb2\xe7\xa0\xb8\xe5\x90\x91\xe6\x88\x91\xe5\x90\x97\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/250833416/" class="">\xe8\x8a\xb1\xe6\x9e\x9d\xe6\x8b\x9b\xe5\xb1\x95\xe7\x9a\x84\xe7\x8b\x97\xe5\x89\xa9</a>\n </td>\n <td nowrap="nowrap" class="r-count ">178</td>\n <td nowrap="nowrap" class="time">12-29 18:28</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280650792/" title="whoau\xe7\x81\xb0\xe8\x89\xb2\xe6\xa3\x89\xe6\x9c\x8d\xe5\x8f\x8d\xe9\xa6\x88" class="">\n whoau\xe7\x81\xb0\xe8\x89\xb2\xe6\xa3\x89\xe6\x9c\x8d\xe5\x8f\x8d\xe9\xa6\x88\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/180373269/" class="">\xe5\x8b\xbf\xe4\xbb\xa5\xe8\x87\xaa\xe4\xb9\x90</a>\n </td>\n <td nowrap="nowrap" class="r-count ">17</td>\n <td nowrap="nowrap" class="time">12-29 18:20</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/268366936/" title="OOTD | 169cm/51kg \xe6\x89\x93\xe5\xb7\xa5er\xe6\x97\xa5\xe5\xb8\xb8\xe7\xa9\xbf\xe6\x90\xad\xe6\x95\xb4\xe7\x90\x86~" class="">\n OOTD | 169cm/51kg \xe6\x89\x93\xe5\xb7\xa5er\xe6\x97\xa5\xe5\xb8\xb8\xe7\xa9\xbf\xe6\x90\xad\xe6\x95\xb4\xe7\x90\x86~\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/147163773/" class="">\xe4\xb8\x8d\xe6\x99\xba\xe6\x88\x96\xe4\xbe\xa5\xe5\xb9\xb8</a>\n </td>\n <td nowrap="nowrap" class="r-count ">323</td>\n <td nowrap="nowrap" class="time">12-29 18:20</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280699447/" title="\xe7\xbb\x84\xe5\x86\x85\xe6\x8e\xa8\xe7\x9a\x84\xe5\xb0\x8f\xe9\xa6\x99\xe9\xa3\x8e\xe5\xa4\xb9\xe7\xbb\x92\xe5\xa4\x96\xe5\xa5\x97\xe5\xa5\xbd\xe7\xb1\xb3" class="">\n \xe7\xbb\x84\xe5\x86\x85\xe6\x8e\xa8\xe7\x9a\x84\xe5\xb0\x8f\xe9\xa6\x99\xe9\xa3\x8e\xe5\xa4\xb9\xe7\xbb\x92\xe5\xa4\x96\xe5\xa5\x97\xe5\xa5\xbd\xe7\xb1\xb3\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/231115774/" class="">o</a>\n </td>\n <td nowrap="nowrap" class="r-count ">31</td>\n <td nowrap="nowrap" class="time">12-29 18:14</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/258399088/" title="\xe5\xa5\xbd\xe6\xad\xb9\xe6\x9c\x89\xe4\xb8\x80\xe4\xb8\xaa\xe5\x8d\x95\xe5\x93\x81\xe8\xa6\x81\xe7\x95\xa5\xe5\xbe\xae\xe7\x8b\xac\xe7\x89\xb9\xe4\xb8\x80\xe7\x82\xb9\xe5\x90\xa7~\xe7\x9a\x84\xe5\x9b\x9b\xe5\xad\xa3\xe8\xae\xb0\xe5\xbd\x95 12.29\xe6\x9b\xb4\xe6\x96\xb0 \xe7\xa9\xbf\xe8\x84\xb1\xe8\x87\xaa\xe5\xa6\x82\xe6\x90\xad\xe9\x85\x8d" class="">\n \xe5\xa5\xbd\xe6\xad\xb9\xe6\x9c\x89\xe4\xb8\x80\xe4\xb8\xaa\xe5\x8d\x95\xe5\x93\x81\xe8\xa6\x81\xe7\x95\xa5\xe5\xbe\xae\xe7\x8b\xac\xe7\x89\xb9\xe4\xb8\x80\xe7\x82\xb9\xe5\x90\xa7~\xe7\x9a\x84\xe5\x9b\x9b\xe5\xad\xa3\xe8\xae\xb0\xe5\xbd\x95 12.29...\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/yotsubachan/" class="">\xe8\xbe\x9b\xe5\xad\x90</a>\n </td>\n <td nowrap="nowrap" class="r-count ">157</td>\n <td nowrap="nowrap" class="time">12-29 18:09</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280235807/" title="\xe5\x81\xa5\xe8\xba\xab\xe6\x88\xbf\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88" class="">\n \xe5\x81\xa5\xe8\xba\xab\xe6\x88\xbf\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/181888138/" class="">\xe5\xba\x9f\xe9\x98\xbf\xe5\xba\x9f</a>\n </td>\n <td nowrap="nowrap" class="r-count ">115</td>\n <td nowrap="nowrap" class="time">12-29 18:05</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280758521/" title="\xe7\x99\xbd\xe8\x89\xb2\xe4\xb8\xad\xe6\x88\x8f\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xef\xbc\x81\xe6\xaf\x94\xe8\xbe\x83\xe6\xbb\xa1\xe6\x84\x8f\xe7\x9a\x84" class="">\n \xe7\x99\xbd\xe8\x89\xb2\xe4\xb8\xad\xe6\x88\x8f\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xef\xbc\x81\xe6\xaf\x94\xe8\xbe\x83\xe6\xbb\xa1\xe6\x84\x8f\xe7\x9a\x84\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/114609775/" class="">\xe9\x92\xb1dare\xe4\xb8\xb2\xe5\xad\x90</a>\n </td>\n <td nowrap="nowrap" class="r-count ">32</td>\n <td nowrap="nowrap" class="time">12-29 18:05</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280630717/" title="\xe4\xbb\x8a\xe5\xb9\xb4\xe4\xb9\xb0\xe5\x88\xb0\xe7\x9a\x84\xe6\x9c\x80\xe6\xbb\xa1\xe6\x84\x8f\xe7\x9a\x84\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xef\xbc\x81\xef\xbc\x81\xef\xbc\x81\xef\xbc\x88\xe7\x99\xbd\xe8\x89\xb2\xe9\x95\xbf\xe6\xac\xbe\xef\xbc\x89" class="">\n \xe4\xbb\x8a\xe5\xb9\xb4\xe4\xb9\xb0\xe5\x88\xb0\xe7\x9a\x84\xe6\x9c\x80\xe6\xbb\xa1\xe6\x84\x8f\xe7\x9a\x84\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xef\xbc\x81\xef\xbc\x81\xef\xbc\x81\xef\xbc\x88\xe7\x99\xbd\xe8\x89\xb2\xe9\x95\xbf\xe6\xac\xbe\xef\xbc\x89\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/229660351/" class="">\xe5\xb0\x8f\xe6\x9d\xa8\xe4\xb8\x8d\xe8\x83\xbd\xe8\x83\x96\xe8\x83\x96</a>\n </td>\n <td nowrap="nowrap" class="r-count ">64</td>\n <td nowrap="nowrap" class="time">12-29 18:03</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/276975601/" title="158 92\xe6\x96\xa4 \xe6\x8e\xa8\xe8\x8d\x90\xe4\xb8\x80\xe6\x9d\xa1\xe5\xb7\xa8\xe4\xbe\xbf\xe5\xae\x9c\xe5\xa5\xbd\xe7\xa9\xbf\xe7\x9a\x84\xe9\x98\x94\xe8\x85\xbf\xe8\xa3\xa4\xef\xbc\x81" class="">\n 158 92\xe6\x96\xa4 \xe6\x8e\xa8\xe8\x8d\x90\xe4\xb8\x80\xe6\x9d\xa1\xe5\xb7\xa8\xe4\xbe\xbf\xe5\xae\x9c\xe5\xa5\xbd\xe7\xa9\xbf\xe7\x9a\x84\xe9\x98\x94\xe8\x85\xbf\xe8\xa3\xa4\xef\xbc\x81\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/195997668/" class="">momo</a>\n </td>\n <td nowrap="nowrap" class="r-count ">107</td>\n <td nowrap="nowrap" class="time">12-29 18:02</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280825016/" title="\xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe5\x86\xac\xe5\xad\xa3\xe7\x9f\xad\xe6\xac\xbe\xe5\xa4\x96\xe5\xa5\x97\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88\xe8\xa3\xa4\xe5\xad\x90\xe5\xa5\xbd\xe7\x9c\x8b" class="">\n \xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe5\x86\xac\xe5\xad\xa3\xe7\x9f\xad\xe6\xac\xbe\xe5\xa4\x96\xe5\xa5\x97\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88\xe8\xa3\xa4\xe5\xad\x90\xe5\xa5\xbd\xe7\x9c\x8b\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/209319765/" class="">\xe5\x8b\x87\xe6\x95\xa21\xe7\x82\xb9</a>\n </td>\n <td nowrap="nowrap" class="r-count ">20</td>\n <td nowrap="nowrap" class="time">12-29 18:01</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/256878399/" title="\xe7\xa9\xbf\xe7\xbb\x842022Q1\xe4\xb8\xbe\xe6\x8a\xa5\xe6\xa5\xbc" class="">\n \xe7\xa9\xbf\xe7\xbb\x842022Q1\xe4\xb8\xbe\xe6\x8a\xa5\xe6\xa5\xbc\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/243235425/" class="">\xe7\xbb\x84\xe9\x95\xbf\xe5\xb0\x8f\xe5\x8a\xa9\xe6\x89\x8b\xf0\x9f\x98\x98</a>\n </td>\n <td nowrap="nowrap" class="r-count ">262</td>\n <td nowrap="nowrap" class="time">12-29 17:59</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280561494/" title="\xe4\xb9\xb0\xe4\xba\x86\xe4\xb8\x80\xe5\x8f\x8c\xe6\x80\xa7\xe4\xbb\xb7\xe6\xaf\x94\xe8\xb6\x85\xe9\xab\x98\xe7\x9a\x84\xe9\x95\xbf\xe9\x9d\xb4" class="">\n \xe4\xb9\xb0\xe4\xba\x86\xe4\xb8\x80\xe5\x8f\x8c\xe6\x80\xa7\xe4\xbb\xb7\xe6\xaf\x94\xe8\xb6\x85\xe9\xab\x98\xe7\x9a\x84\xe9\x95\xbf\xe9\x9d\xb4\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/229584587/" class="">\xe8\x8a\xb1\xe5\x8d\xb7\xe4\xb9\x9f\xe8\x83\xbd\xe5\x8d\xb7\xe6\xad\xbb\xe4\xba\xba</a>\n </td>\n <td nowrap="nowrap" class="r-count ">32</td>\n <td nowrap="nowrap" class="time">12-29 17:57</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280619445/" title="\xe8\xaf\xb7\xe5\xa4\xa7\xe5\xae\xb6\xe5\xb8\xae\xe6\x88\x91\xe7\x9c\x8b\xe7\x9c\x8b\xe8\xbf\x99\xe6\xa0\xb7\xe6\x90\xad\xe5\xa5\x87\xe6\x80\xaa\xe5\x98\x9b\xef\xbc\x81" class="">\n \xe8\xaf\xb7\xe5\xa4\xa7\xe5\xae\xb6\xe5\xb8\xae\xe6\x88\x91\xe7\x9c\x8b\xe7\x9c\x8b\xe8\xbf\x99\xe6\xa0\xb7\xe6\x90\xad\xe5\xa5\x87\xe6\x80\xaa\xe5\x98\x9b\xef\xbc\x81\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/220910553/" class="">4oot</a>\n </td>\n <td nowrap="nowrap" class="r-count ">36</td>\n <td nowrap="nowrap" class="time">12-29 17:56</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280819595/" title="\xe7\x94\xb7\xe6\x9c\x8b\xe5\x8f\x8b\xe7\x94\x9f\xe6\x97\xa5\xe9\x80\x81\xe5\x93\xaa\xe5\x8f\x8c\xe6\xaf\x94\xe8\xbe\x83\xe5\xa5\xbd" class="">\n \xe7\x94\xb7\xe6\x9c\x8b\xe5\x8f\x8b\xe7\x94\x9f\xe6\x97\xa5\xe9\x80\x81\xe5\x93\xaa\xe5\x8f\x8c\xe6\xaf\x94\xe8\xbe\x83\xe5\xa5\xbd\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/162507368/" class="">wish</a>\n </td>\n <td nowrap="nowrap" class="r-count ">37</td>\n <td nowrap="nowrap" class="time">12-29 17:49</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/279605838/" title="\xe5\x86\xac\xe6\x97\xa5\xe7\x99\xbd\xe8\x89\xb2\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xe7\x88\xb1\xe5\xa5\xbd\xe8\x80\x85" class="">\n \xe5\x86\xac\xe6\x97\xa5\xe7\x99\xbd\xe8\x89\xb2\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xe7\x88\xb1\xe5\xa5\xbd\xe8\x80\x85\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/180568604/" class="">\xe5\x88\xa9\xe5\xa5\x88\xe5\x94\x91\xe8\x83\xba</a>\n </td>\n <td nowrap="nowrap" class="r-count ">112</td>\n <td nowrap="nowrap" class="time">12-29 17:48</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280769926/" title="\xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xef\xbc\x8c\xe5\x8f\xaf\xe4\xbb\xa5\xe6\x8a\x8a\xe4\xbd\xa0\xe4\xbb\xac\xe4\xb9\xb0\xe7\x9a\x84\xe5\xa5\xbd\xe7\x9c\x8b\xe7\x9a\x84\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xe7\x94\xa9\xe5\x87\xba\xe6\x9d\xa5\xe7\xbb\x99\xe6\x88\x91\xe7\x9c\x8b\xe4\xb9\x88" class="">\n \xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xef\xbc\x8c\xe5\x8f\xaf\xe4\xbb\xa5\xe6\x8a\x8a\xe4\xbd\xa0\xe4\xbb\xac\xe4\xb9\xb0\xe7\x9a\x84\xe5\xa5\xbd\xe7\x9c\x8b\xe7\x9a\x84\xe7\xbe\xbd\xe7\xbb\x92\xe6\x9c\x8d\xe7\x94\xa9\xe5\x87\xba\xe6\x9d\xa5\xe7\xbb\x99\xe6\x88\x91\xe7\x9c\x8b\xe4\xb9\x88\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/62457579/" class="">\xe4\xb8\x80\xe5\x8f\xaa\xe8\x8a\x92\xe6\x9e\x9c</a>\n </td>\n <td nowrap="nowrap" class="r-count ">26</td>\n <td nowrap="nowrap" class="time">12-29 17:46</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280409934/" title="\xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe5\xb8\xae\xe5\xbf\x99\xe7\x9c\x8b\xe7\x9c\x8b\xe5\x8f\xaf\xe4\xbb\xa5\xe7\x95\x99\xe5\x90\x97" class="">\n \xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe5\xb8\xae\xe5\xbf\x99\xe7\x9c\x8b\xe7\x9c\x8b\xe5\x8f\xaf\xe4\xbb\xa5\xe7\x95\x99\xe5\x90\x97\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/210206154/" class="">FRESH</a>\n </td>\n <td nowrap="nowrap" class="r-count ">12</td>\n <td nowrap="nowrap" class="time">12-29 17:43</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280287043/" title="\xe4\xbc\xa0\xe8\xaf\xb4\xe4\xb8\xad\xe9\x80\x9a\xe5\x8b\xa4\xe7\x9a\x84\xe6\xb1\x89\xe6\x9c\x8d" class="">\n \xe4\xbc\xa0\xe8\xaf\xb4\xe4\xb8\xad\xe9\x80\x9a\xe5\x8b\xa4\xe7\x9a\x84\xe6\xb1\x89\xe6\x9c\x8d\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/168905442/" class="">\xe6\x9c\xa8\xe6\xa0\xbc\xe6\xa0\xbc</a>\n </td>\n <td nowrap="nowrap" class="r-count ">36</td>\n <td nowrap="nowrap" class="time">12-29 17:38</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280835258/" title="\xe5\x88\x98\xe4\xba\xa6\xe8\x8f\xb2\xe4\xbb\xac\xef\xbc\x81\xe5\xa6\x82\xe6\x9e\x9c\xe7\xa7\x8b\xe5\x86\xac\xe5\x8f\xaa\xe8\x83\xbd\xe4\xb9\xb0\xe4\xb8\x80\xe6\x9d\xa1\xe5\x8d\x8a\xe8\xa3\x99\xe4\xbd\xa0\xe7\x9a\x84\xe9\x80\x89\xe6\x8b\xa9\xe6\x98\xaf\xef\xbc\x81" class="">\n \xe5\x88\x98\xe4\xba\xa6\xe8\x8f\xb2\xe4\xbb\xac\xef\xbc\x81\xe5\xa6\x82\xe6\x9e\x9c\xe7\xa7\x8b\xe5\x86\xac\xe5\x8f\xaa\xe8\x83\xbd\xe4\xb9\xb0\xe4\xb8\x80\xe6\x9d\xa1\xe5\x8d\x8a\xe8\xa3\x99\xe4\xbd\xa0\xe7\x9a\x84\xe9\x80\x89\xe6\x8b\xa9\xe6\x98\xaf\xef\xbc\x81\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/213719196/" class="">Jenny</a>\n </td>\n <td nowrap="nowrap" class="r-count ">3</td>\n <td nowrap="nowrap" class="time">12-29 17:38</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280476832/" title="\xe6\x8e\xa8\xe8\x8d\x90\xe4\xb8\x80\xe6\xac\xbe\xe5\xb7\xa8\xe5\xa5\xbd\xe7\x9c\x8b\xe7\x9a\x84\xe5\xa4\xa7\xe8\xa1\xa3" class="">\n \xe6\x8e\xa8\xe8\x8d\x90\xe4\xb8\x80\xe6\xac\xbe\xe5\xb7\xa8\xe5\xa5\xbd\xe7\x9c\x8b\xe7\x9a\x84\xe5\xa4\xa7\xe8\xa1\xa3\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/202830350/" class="">\xe5\xae\x89\xe9\x9d\x99\xe7\x9a\x84\xe5\xb0\x8f\xe5\x8f\xaf\xe7\x88\xb1</a>\n </td>\n <td nowrap="nowrap" class="r-count ">31</td>\n <td nowrap="nowrap" class="time">12-29 17:18</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/276419292/" title="\xe6\x83\xb3\xe7\x9c\x8b\xe7\x9c\x8b\xe5\xa4\xa7\xe5\xae\xb6\xe5\x86\xac\xe5\xa4\xa9\xe6\x88\xb4\xe7\x9a\x84\xe5\x90\x84\xe7\xa7\x8d\xe5\xb8\xbd\xe5\xad\x90\xef\xbd\x9e\xe5\x8c\x85\xe6\x8b\xac\xe4\xbd\x86\xe4\xb8\x8d\xe9\x99\x90\xe4\xba\x8e\xe6\xaf\x9b\xe7\xba\xbf\xe5\xb8\xbd\xe6\xb8\x94\xe5\xa4\xab\xe5\xb8\xbd\xe6\xa3\x92\xe7\x90\x83\xe5\xb8\xbd\xe7\xad\x89\xe7\xad\x89\xe7\xad\x89\xe7\xad\x89\xef\xbc\x81" class="">\n \xe6\x83\xb3\xe7\x9c\x8b\xe7\x9c\x8b\xe5\xa4\xa7\xe5\xae\xb6\xe5\x86\xac\xe5\xa4\xa9\xe6\x88\xb4\xe7\x9a\x84\xe5\x90\x84\xe7\xa7\x8d\xe5\xb8\xbd\xe5\xad\x90\xef\xbd\x9e\xe5\x8c\x85\xe6\x8b\xac\xe4\xbd\x86\xe4\xb8\x8d\xe9\x99\x90\xe4\xba\x8e\xe6\xaf\x9b\xe7\xba\xbf\xe5\xb8\xbd...\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/254625711/" class="">momo</a>\n </td>\n <td nowrap="nowrap" class="r-count ">161</td>\n <td nowrap="nowrap" class="time">12-29 17:18</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280721188/" title="\xe4\xbb\x8a\xe5\xb9\xb4\xe4\xb8\x8b\xe5\x8d\x8a\xe5\xb9\xb4\xe7\xa9\xbf\xe6\x90\xad\xe5\x90\x88\xe9\x9b\x86" class="">\n \xe4\xbb\x8a\xe5\xb9\xb4\xe4\xb8\x8b\xe5\x8d\x8a\xe5\xb9\xb4\xe7\xa9\xbf\xe6\x90\xad\xe5\x90\x88\xe9\x9b\x86\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/148011794/" class="">Niiii_</a>\n </td>\n <td nowrap="nowrap" class="r-count ">26</td>\n <td nowrap="nowrap" class="time">12-29 17:14</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280833445/" title="\xe6\x9c\x89\xe6\xb2\xa1\xe6\x9c\x89\xe8\xbf\x99\xe7\xa7\x8d\xe9\xa2\x9c\xe8\x89\xb2\xe7\x9a\x84\xe7\x89\x9b\xe4\xbb\x94\xe8\xa3\xa4\xe5\x95\x8a" class="">\n \xe6\x9c\x89\xe6\xb2\xa1\xe6\x9c\x89\xe8\xbf\x99\xe7\xa7\x8d\xe9\xa2\x9c\xe8\x89\xb2\xe7\x9a\x84\xe7\x89\x9b\xe4\xbb\x94\xe8\xa3\xa4\xe5\x95\x8a\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/182958934/" class="">\xe5\xb0\x8f\xe5\x90\xb4\xe7\x9a\x84\xe9\x94\xa6\xe9\xb2\xa4</a>\n </td>\n <td nowrap="nowrap" class="r-count ">1</td>\n <td nowrap="nowrap" class="time">12-29 16:57</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/279781926/" title="\xe8\xaf\xb7\xe7\xbb\x99\xe6\xa2\xa8\xe5\xbd\xa2\xe4\xb8\x80\xe6\x9d\xa1\xe7\x83\x9f\xe7\xae\xa1\xe8\xa3\xa4\xe5\x90\xa7" class="">\n \xe8\xaf\xb7\xe7\xbb\x99\xe6\xa2\xa8\xe5\xbd\xa2\xe4\xb8\x80\xe6\x9d\xa1\xe7\x83\x9f\xe7\xae\xa1\xe8\xa3\xa4\xe5\x90\xa7\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/201200858/" class="">\xe5\x8c\xb9\xe6\x96\xaf\xe5\xae\x89\xe7\x9a\x84\xe6\x8b\x89\xe4\xb9\x8c</a>\n </td>\n <td nowrap="nowrap" class="r-count ">106</td>\n <td nowrap="nowrap" class="time">12-29 16:54</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280671879/" title="\xe9\x87\x8d\xe9\x87\x91\xe6\x82\xac\xe8\xb5\x8f\xe4\xb8\x8b\xe5\x9b\xbe\xe7\x89\x88\xe5\x9e\x8b\xe7\x9a\x84\xe7\x89\x9b\xe4\xbb\x94\xe8\xa3\xa4" class="">\n \xe9\x87\x8d\xe9\x87\x91\xe6\x82\xac\xe8\xb5\x8f\xe4\xb8\x8b\xe5\x9b\xbe\xe7\x89\x88\xe5\x9e\x8b\xe7\x9a\x84\xe7\x89\x9b\xe4\xbb\x94\xe8\xa3\xa4\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/220300759/" class="">\xe7\x9c\x9f\xe7\x9a\x84\xe5\xbe\x88\xe6\x83\xb3\xe7\x9d\xa1\xe8\xa7\x89\xe5\x95\xa6</a>\n </td>\n <td nowrap="nowrap" class="r-count ">31</td>\n <td nowrap="nowrap" class="time">12-29 16:51</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/278843997/" title="\xf0\x9f\xa5\xba\xf0\x9f\xa5\xba\xe6\x83\xb3\xe6\xb1\x82\xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe4\xb9\xb0\xe5\x88\xb0\xe7\x9a\x84\xe5\xa5\xbd\xe7\xa9\xbf\xe7\xa7\x8b\xe5\x86\xac\xe5\x86\x85\xe6\x90\xad\xe9\x92\x88\xe7\xbb\x87\xe8\xa1\xab\xe4\xb8\x8d\xe8\xa6\x81\xe5\xa4\xaa\xe8\x96\x84\xe7\x9a\x84\xe5\xa4\xaa\xe9\x95\xbf\xe7\x9a\x84" class="">\n \xf0\x9f\xa5\xba\xf0\x9f\xa5\xba\xe6\x83\xb3\xe6\xb1\x82\xe5\xa7\x90\xe5\xa6\xb9\xe4\xbb\xac\xe4\xb9\xb0\xe5\x88\xb0\xe7\x9a\x84\xe5\xa5\xbd\xe7\xa9\xbf\xe7\xa7\x8b\xe5\x86\xac\xe5\x86\x85\xe6\x90\xad\xe9\x92\x88\xe7\xbb\x87\xe8\xa1\xab\xe4\xb8\x8d\xe8\xa6\x81...\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/200225391/" class="">\xe6\x9c\x88\xe5\x9c\xa8\xe5\x90\x9f\xe5\x94\xb1\xe8\xaf\x97\xe7\xaf\x87</a>\n </td>\n <td nowrap="nowrap" class="r-count ">208</td>\n <td nowrap="nowrap" class="time">12-29 16:50</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280806691/" title="pdd\xe4\xb8\x8a\xe7\x9a\x84\xe8\xa1\xa3\xe6\x9c\x8d\xe8\x83\xbd\xe4\xb9\xb0\xe5\x90\x97" class="">\n pdd\xe4\xb8\x8a\xe7\x9a\x84\xe8\xa1\xa3\xe6\x9c\x8d\xe8\x83\xbd\xe4\xb9\xb0\xe5\x90\x97\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/216868135/" class="">alkaid</a>\n </td>\n <td nowrap="nowrap" class="r-count ">17</td>\n <td nowrap="nowrap" class="time">12-29 16:45</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280832927/" title="\xe6\xb1\x82\xe8\xbf\x99\xe7\xa7\x8d\xe8\xa2\x96\xe5\xad\x90\xe5\xa4\xa7\xe5\xa4\xa7\xe7\x9a\x84\xe6\xaf\x9b\xe8\xa1\xa3" class="">\n \xe6\xb1\x82\xe8\xbf\x99\xe7\xa7\x8d\xe8\xa2\x96\xe5\xad\x90\xe5\xa4\xa7\xe5\xa4\xa7\xe7\x9a\x84\xe6\xaf\x9b\xe8\xa1\xa3\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/126127673/" class="">\xe8\x8a\xab\xe8\x8d\xbd</a>\n </td>\n <td nowrap="nowrap" class="r-count "></td>\n <td nowrap="nowrap" class="time">12-29 16:43</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280401243/" title="\xe5\xa5\xbd\xe8\xaf\x84\xef\xbc\x81\xe4\xb9\xb0\xe4\xba\x86\xe7\xbb\x84\xe9\x87\x8c\xe5\xa7\x90\xe5\xa6\xb9\xe6\x8e\xa8\xe8\x8d\x90\xe7\x9a\x84\xe5\xa4\xa7\xe8\xa1\xa3 \xe6\x88\x91\xe7\x88\xb1\xe6\x88\x91\xe7\xbb\x84" class="">\n \xe5\xa5\xbd\xe8\xaf\x84\xef\xbc\x81\xe4\xb9\xb0\xe4\xba\x86\xe7\xbb\x84\xe9\x87\x8c\xe5\xa7\x90\xe5\xa6\xb9\xe6\x8e\xa8\xe8\x8d\x90\xe7\x9a\x84\xe5\xa4\xa7\xe8\xa1\xa3 \xe6\x88\x91\xe7\x88\xb1\xe6\x88\x91\xe7\xbb\x84\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/Momo_Memorial/" class="">\xe4\xba\xb2\xe7\x83\xad\xe8\xa7\xa3\xe6\x9a\x91</a>\n </td>\n <td nowrap="nowrap" class="r-count ">170</td>\n <td nowrap="nowrap" class="time">12-29 16:39</td>\n </tr>\n\n\n <tr class="">\n <td class="title">\n\n\n \n <a href="https://www.douban.com/group/topic/280602752/" title="\xe8\xbf\x99\xe5\xa5\x97\xe8\xa1\xa3\xe6\x9c\x8d\xe5\xa5\xbd\xe7\x9c\x8b\xe5\x90\x97\xef\xbc\x9f" class="">\n \xe8\xbf\x99\xe5\xa5\x97\xe8\xa1\xa3\xe6\x9c\x8d\xe5\xa5\xbd\xe7\x9c\x8b\xe5\x90\x97\xef\xbc\x9f\n </a>\n </td>\n <td nowrap="nowrap">\n <a href="https://www.douban.com/people/153040645/" class="">\xf0\x9f\xa4\x8d\xf0\x9f\xa4\x8d\xf0\x9f\xa4\x8d</a>\n </td>\n <td nowrap="nowrap" class="r-count ">11</td>\n <td nowrap="nowrap" class="time">12-29 16:28</td>\n </tr>\n\n </table>\n\n\n\n\n\n\n\n\n\n\n </div>\n \n \n \n\n \n <div class="paginator">\n <span class="prev">\n <link rel="prev" href="https://www.douban.com/group/707669/discussion?start=0&type=new"/>\n <a href="https://www.douban.com/group/707669/discussion?start=0&type=new" ><\xe5\x89\x8d\xe9\xa1\xb5</a>\n </span>\n \n \n\n \n <a href="https://www.douban.com/group/707669/discussion?start=0&type=new" >1</a>\n \n <span class="thispage" data-total-page="3916">2</span>\n \n <a href="https://www.douban.com/group/707669/discussion?start=50&type=new" >3</a>\n \n \n <a href="https://www.douban.com/group/707669/discussion?start=75&type=new" >4</a>\n \n \n <a href="https://www.douban.com/group/707669/discussion?start=100&type=new" >5</a>\n \n \n <a href="https://www.douban.com/group/707669/discussion?start=125&type=new" >6</a>\n \n \n <a href="https://www.douban.com/group/707669/discussion?start=150&type=new" >7</a>\n \n \n <a href="https://www.douban.com/group/707669/discussion?start=175&type=new" >8</a>\n \n \n <a href="https://www.douban.com/group/707669/discussion?start=200&type=new" >9</a>\n \n <span class="break">...</span>\n \n <a href="https://www.douban.com/group/707669/discussion?start=97850&type=new" >3915</a>\n \n <a href="https://www.douban.com/group/707669/discussion?start=97875&type=new" >3916</a>\n \n <span class="next">\n <link rel="next" href="https://www.douban.com/group/707669/discussion?start=50&type=new"/>\n <a href="https://www.douban.com/group/707669/discussion?start=50&type=new" >\xe5\x90\x8e\xe9\xa1\xb5></a>\n </span>\n\n </div>\n\n\n\n </div>\n <div class="aside">\n \n \n\n\n\n\n\n\n\n\n\n<div id="g-side-info" class="side-reg">\n <div class="bd">\n <div class="group-item">\n <div class="pic">\n <a href="https://www.douban.com/group/707669/?ref=sidebar"><img src="https://img1.doubanio.com/view/group/sqxs/public/ab5a8efff8e2010.jpg"></a>\n </div>\n <div class="info">\n <div class="title">\n <a href="https://www.douban.com/group/707669/?ref=sidebar">\xe4\xbb\x8a\xe5\xa4\xa9\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88</a>\n </div>\n </div>\n </div>\n </div>\n \n <div class="ft">\n <div class="member-status">\n <div class="ft-members">\n <i>334056</i> \xe4\xba\xba\xe8\x81\x9a\xe9\x9b\x86\xe5\x9c\xa8\xe8\xbf\x99\xe4\xb8\xaa\xe5\xb0\x8f\xe7\xbb\x84<br>\n </div>\n \n \xe7\x94\xb3\xe8\xaf\xb7\xe8\xa2\xab\xe6\x8b\x92\xe7\xbb\x9d\xe5\x90\x8e\xe9\x9c\x80\xe7\xad\x89\xe5\xbe\x857\xe5\xa4\xa9\xe6\x89\x8d\xe8\x83\xbd\xe5\x86\x8d\xe6\xac\xa1\xe7\x94\xb3\xe8\xaf\xb7\xef\xbc\x8c\xe8\xbf\x98\xe5\x89\xa97\xe5\xa4\xa9\n <span class="bn-join-group-disable">\n <span>\xe7\x94\xb3\xe8\xaf\xb7\xe5\x8a\xa0\xe5\x85\xa5\xe5\xb0\x8f\xe7\xbb\x84</span>\n </span>\n \n </div>\n </div>\n</div>\n\n<script>\n function generate_group_prompt_dialog_bind_phone(dui_config){\n var prompt_dlg = dui.Dialog({\n title: (dui_config.title? dui_config.title: \'\xe6\x93\x8d\xe4\xbd\x9c\xe6\x8f\x90\xe7\xa4\xba\'),\n content: (dui_config.content? dui_config.content: \'\xe6\x93\x8d\xe4\xbd\x9c\xe5\x86\x85\xe5\xae\xb9\'),\n width: (dui_config.width? dui_config.width: 400),\n buttons: [\n {text: \'\xe5\x8e\xbb\xe7\xbb\x91\xe5\xae\x9a\', method: function() { window.location = dui_config.target; } },\n {text: \'\xe5\x8f\x96\xe6\xb6\x88\', method: function() { prompt_dlg.close(); } }\n ]\n });\n prompt_dlg.open();\n }\n /* common over */\n $(\'.dialog-bind-phone-confirm\').click(function(){\n generate_group_prompt_dialog_bind_phone({content: \'\xe5\x8a\xa0\xe5\x85\xa5\xe6\xad\xa4\xe5\xb0\x8f\xe7\xbb\x84\xe9\x9c\x80\xe8\xa6\x81\xe7\xbb\x91\xe5\xae\x9a\xe6\x89\x8b\xe6\x9c\xba\xe5\x8f\xb7\', target: \'https://www.douban.com/accounts/phone/bind\'});\n return false;\n });\n $(\'.btn-cancel-join\').click(function(e) {\n e.preventDefault()\n var _this = this\n dui.Dialog({\n width: 300,\n nodeId: \'cancel-join\',\n content: \'\xe7\xa1\xae\xe5\xae\x9a\xe5\x8f\x96\xe6\xb6\x88\xe5\x85\xa5\xe7\xbb\x84\xe7\x94\xb3\xe8\xaf\xb7\xe5\x90\x97\',\n buttons: [{\n text: \'\xe7\xa1\xae\xe5\xae\x9a\',\n method: function() {\n $.post_withck(\'https://www.douban.com/group/707669/cancel_join\', {ck: get_cookie(\'ck\')})\n window.location.reload()\n }\n }, {\n text: \'\xe4\xb8\x8d\xe4\xba\x86\',\n method: function() {\n dui.Dialog().close()\n }\n }],\n }).open()\n })\n</script>\n\n <!-- douban app begin -->\n <div id="dale_group_more_discussion_inner_top"></div>\n <div id="dale_group_more_discussion_download_top"></div>\n <!-- douban app end -->\n\n <!-- douban ad begin -->\n <div id="dale_group_more_discussion_top_right"></div>\n <!-- douban ad end -->\n\n </div>\n <div class="extra">\n \n </div>\n </div>\n</div>\n\n \n<div id="footer">\n \n<span id="icp" class="fleft gray-link">\n © 2005\xef\xbc\x8d2022 douban.com, all rights reserved \xe5\x8c\x97\xe4\xba\xac\xe8\xb1\x86\xe7\xbd\x91\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8\n</span>\n\n<a href="https://www.douban.com/hnypt/variformcyst.py" style="display: none;"></a>\n\n<span class="fright">\n <a href="https://www.douban.com/about">\xe5\x85\xb3\xe4\xba\x8e\xe8\xb1\x86\xe7\x93\xa3</a>\n \xc2\xb7 <a href="https://www.douban.com/jobs">\xe5\x9c\xa8\xe8\xb1\x86\xe7\x93\xa3\xe5\xb7\xa5\xe4\xbd\x9c</a>\n \xc2\xb7 <a href="https://www.douban.com/about?topic=contactus">\xe8\x81\x94\xe7\xb3\xbb\xe6\x88\x91\xe4\xbb\xac</a>\n \xc2\xb7 <a href="https://www.douban.com/about/legal">\xe6\xb3\x95\xe5\xbe\x8b\xe5\xa3\xb0\xe6\x98\x8e</a>\n \n \xc2\xb7 <a href="https://help.douban.com/group" target="_blank">\xe5\xb8\xae\xe5\x8a\xa9\xe4\xb8\xad\xe5\xbf\x83</a>\n \xc2\xb7 <a href="https://www.douban.com/doubanapp/">\xe7\xa7\xbb\xe5\x8a\xa8\xe5\xba\x94\xe7\x94\xa8</a>\n \xc2\xb7 <a href="https://www.douban.com/partner/">\xe8\xb1\x86\xe7\x93\xa3\xe5\xb9\xbf\xe5\x91\x8a</a>\n</span>\n\n</div>\n\n </div>\n \n\n <script type="text/javascript" src="https://img1.doubanio.com/misc/mixed_static/3cca0dde5da05fed.js"></script>\n \n \n\n\n\n\n \n<script type="text/javascript">\n (function (global) {\n var newNode = global.document.createElement(\'script\'),\n existingNode = global.document.getElementsByTagName(\'script\')[0],\n adSource = \'//erebor.douban.com/\',\n userId = \'257220224\',\n browserId = \'5Z-fX5U2XPI\',\n criteria = \'3:/group/707669/discussion?start=25&type=new\',\n preview = \'\',\n debug = false,\n adSlots = [\'dale_group_more_discussion_top_right\', \'dale_group_more_discussion_inner_top\', \'dale_group_more_discussion_download_top\'];\n\n global.DoubanAdRequest = {src: adSource, uid: userId, bid: browserId, crtr: criteria, prv: preview, debug: debug};\n global.DoubanAdSlots = (global.DoubanAdSlots || []).concat(adSlots);\n\n newNode.setAttribute(\'type\', \'text/javascript\');\n newNode.setAttribute(\'src\', \'//img1.doubanio.com/MnJwNGlleS9mL2FkanMvY2M1OGQyNTQ2N2I2YmQzOTlmNTliMGJiMjI4MWRhZTlkNTNjYTFkZC9hZC5yZWxlYXNlLmpz\');\n newNode.setAttribute(\'async\', true);\n existingNode.parentNode.insertBefore(newNode, existingNode);\n })(this);\n</script>\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n\n\n\n\n\n\n\n\n<script type="text/javascript">\nvar _paq = _paq || [];\n_paq.push([\'trackPageView\']);\n_paq.push([\'enableLinkTracking\']);\n(function() {\n var p=((\'https:\' == document.location.protocol) ? \'https\' : \'http\'), u=p+\'://fundin.douban.com/\';\n _paq.push([\'setTrackerUrl\', u+\'piwik\']);\n _paq.push([\'setSiteId\', \'100001\']);\n var d=document, g=d.createElement(\'script\'), s=d.getElementsByTagName(\'script\')[0];\n g.type=\'text/javascript\';\n g.defer=true;\n g.async=true;\n g.src=p+\'://img3.doubanio.com/dae/fundin/piwik.js\';\n s.parentNode.insertBefore(g,s);\n})();\n</script>\n\n<script type="text/javascript">\nvar _gaq = _gaq || [];\n_gaq.push([\'_setAccount\', \'UA-7019765-1\']);\n_gaq.push([\'_setCampNameKey\', \'dcn\']);\n_gaq.push([\'_setCampSourceKey\', \'dcs\']);\n_gaq.push([\'_setCampMediumKey\', \'dcm\']);\n_gaq.push([\'_setCampTermKey\', \'dct\']);\n_gaq.push([\'_setCampContentKey\', \'dcc\']);\n_gaq.push([\'_addOrganic\', \'baidu\', \'word\']);\n_gaq.push([\'_addOrganic\', \'soso\', \'w\']);\n_gaq.push([\'_addOrganic\', \'3721\', \'name\']);\n_gaq.push([\'_addOrganic\', \'youdao\', \'q\']);\n_gaq.push([\'_addOrganic\', \'so.360.cn\', \'q\']);\n_gaq.push([\'_addOrganic\', \'vnet\', \'kw\']);\n_gaq.push([\'_addOrganic\', \'sogou\', \'query\']);\n_gaq.push([\'_addIgnoredOrganic\', \'\xe8\xb1\x86\xe7\x93\xa3\']);\n_gaq.push([\'_addIgnoredOrganic\', \'douban\']);\n_gaq.push([\'_addIgnoredOrganic\', \'\xe8\xb1\x86\xe7\x93\xa3\xe7\xbd\x91\']);\n_gaq.push([\'_addIgnoredOrganic\', \'www.douban.com\']);\n_gaq.push([\'_setDomainName\', \'.douban.com\']);\n\n _gaq.push([\'_setCustomVar\', 1, \'responsive_view_mode\', \'desktop\', 3]);\n \n _gaq.push([\'_setCustomVar\', 2, \'group\', \'\xe4\xbb\x8a\xe5\xa4\xa9\xe7\xa9\xbf\xe4\xbb\x80\xe4\xb9\x88\', 3])\n _gaq.push([\'_setCustomVar\', 3, \'tags\', \'\xe7\x94\x9f\xe6\xb4\xbb|\xe6\x97\xb6\xe5\xb0\x9a|\xe7\xa9\xbf\xe6\x90\xad|OOTD|\', 3])\n_gaq.push([\'_trackPageview\']);\n_gaq.push([\'_trackPageLoadTime\']);\n _gaq.push([\'_trackEvent\', \'group tag\', \'view\', \'\xe7\x94\x9f\xe6\xb4\xbb\', 0, true]);\n _gaq.push([\'_trackEvent\', \'group tag\', \'view\', \'\xe6\x97\xb6\xe5\xb0\x9a\', 0, true]);\n _gaq.push([\'_trackEvent\', \'group tag\', \'view\', \'\xe7\xa9\xbf\xe6\x90\xad\', 0, true]);\n _gaq.push([\'_trackEvent\', \'group tag\', \'view\', \'OOTD\', 0, true]);\n _gaq.push([\'_setVar\', \'25722\']);\nwindow._ga_init = function() {\n var ga = document.createElement(\'script\');\n ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';\n ga.setAttribute(\'async\', \'true\');\n document.documentElement.firstChild.appendChild(ga);\n};\nif (window.addEventListener) {\n window.addEventListener(\'load\', _ga_init, false);\n} else {\n window.attachEvent(\'onload\', _ga_init);\n}\n</script>\n\n\n\n\n\n\n <!-- dae-web-group--default-68b49c9f98-cmbgk-->\n\n\n <script>_SPLITTEST=\'\'</script>\n</body>\n\n</html>\n\n\n'"
soup = BeautifulSoup(html, "lxml")
try:
girlsc = soup.contents[1].contents[3].contents[15].contents[1].contents[3].contents[1].contents[3].contents[1].contents
for girls in girlsc:
print(index, len(lines))
try:
if girls.text != "\n" and girls.contents and len(girls.contents) == 9:
gl = girls.contents
orglink = gl[1].find("a").get('href').replace("\n", "").strip()
orgtitle = gl[1].find("a").text.replace("\n", "").strip()
girlname = gl[3].find("a").text.replace("\n", "").strip()
girllink = gl[3].find("a").get('href').replace("\n", "").strip()
response = requests.get(girllink, timeout=10, headers=headers)
html = response.content
soup = BeautifulSoup(html, "lxml")
popnum = gl[5].contents[0] if len(gl[5].contents) > 0 else 0
house_elements = soup.find('div', class_='user-info')
girlnum = house_elements.find('div', class_='pl').text.replace("\n", "").strip().split(" ")[0]
girllocation = house_elements.find('span', class_='ip-location').text.replace("\n", "").strip()
if girllocation.__contains__("北京") and int(girlnum) not in [l[1] for l in lines] and int(girlnum) \
not in alreadydf["girlnum"].unique().tolist() and int(popnum) > 5:
line = []
line.append(girlname)
line.append(girlnum)
line.append(orgtitle)
line.append(orglink)
line.append(girllocation)
line.append(popnum)
line.append(datetime.datetime.today())
lines.add(line)
except Exception as e:
print(e)
except Exception as e:
print(e)
# for house_elem in house_elements:
index += 1
if len(lines)>10:
break
print(lines)
#
# chrome_driver="/home/mi/PycharmProjects/doubanlove/ke/chromedriver"
# driver = webdriver.Chrome(executable_path=chrome_driver)
# driver.get('https://www.douban.com/')
# # # 点击 密码登录 按钮 。但是找不到该element,不存在网页中
# # 找到登陆的iframe
# login_iframe = driver.find_element_by_xpath('//div[@class="login"]/iframe')
# # 切换到iframe
# driver.switch_to.frame(login_iframe)
# # 点击密码登陆account-tab-account
# driver.find_element_by_class_name('account-tab-account').click()
# # 填写账号
# driver.find_element_by_id('username').clear()
# driver.find_element_by_id('username').send_keys('18518056212')
# time.sleep(2)
# # 填写密码
# driver.find_element_by_id('password').clear()
# driver.find_element_by_id('password').send_keys('mcw19910212')
# driver.find_element_by_xpath('/html/body/div[1]/div[2]/div[1]/div[5]/a').click()
#
# # click account phone account-tab-phone on
# driver.find_element_by_class_name('account-tab-phone.on').click()
# driver.find_element_by_class_name('account-form-input').clear()
# driver.find_element_by_class_name('account-form-input').send_keys('18518056212')
#
# # get phone test num
# driver.find_element_by_class_name("account-form-field-code ").click()
# time.sleep(40)
# driver.find_element_by_class_name("account-form-field-submit ").click()
# #
print("login success")
# print(driver.get_cookies())
# cookies=driver.get_cookies()
# # Path('./cookies.txt').write_text(json.dumps(cookies))
#
# # data = '[{"姓名":"张三","年龄":"18"},{"姓名":"李四","年龄":"20"}]'
# # new_data = json.loads(data)
# with open('data/cookies.json','w',encoding='utf8') as f2:
# # ensure_ascii=False才能输入中文,否则是Unicode字符
# # indent=2 JSON数据的缩进,美观
# json.dump(cookies,f2,ensure_ascii=False,indent=2)
# def senddouyou(id):
#
# comment_firstpra = ["你好,首先如果打扰到您真的很抱歉,我无法看到很多的具体您的信息,我是从相亲小组不小心点过来的,我是真的看到帖子觉得很有眼缘,不打扰的话可以认识一下,我是在某大厂做人工智能算法的,只是工作比较忙,我也不太喜欢相亲这种急功近利的方式,所以看到你的帖子看看是不是可以通过别的渠道 认识喜欢的女孩子。下面是我的具体信息,我真的希望得到你的回复\n"]
#
# contents=[" 基本情况 人工智能炼丹工程师,91年 山西人,月入40k 外地有一套房,还有三四十万得贷款,没有负担,想还随时可以\n"
# ," 兴趣爱好 不喝酒 不抽烟,不打游戏,喜欢健身,有胸肌 有腹肌,比较壮。\n"
# ," 未来规划 因为行业原因,北京得行业前景最好,但是没有户口,未来的话,我觉得可以两个人共同决定\n"
# ," 个人经历 硕士毕业之后,负责风控算法项目,后带领一个4-5 人的团队在公司对公司的贷前贷后做算法服务赋能,之后跳槽到小米现在负责组件商店的搜索推荐算法。总的来讲 职业前景很好,现在小米又接触到很多优质的资源。\n"
# ," 我的希望 努力的找到合适的另一半,可以建立健康的稳定的亲密关系,可以有共同的生活人生目标,就算两个人有些地方有分歧可以求同存异,为了这个目标团结一致。\n","附件是我得照片,请你检阅。非常感谢你看了我的介绍阿,我也非常期待你的回信和对我的看法"]
#
# content=comment_firstpra+contents
# driver.get("https://www.douban.com/doumail/write?to="+str(id))
# # url = "\"https://www.douban.com/doumail/write?to=" + str(id) + "\""
# # js = 'window.open(%s);' % url
# # driver.execute_script(js)
# driver.find_element_by_id("m_text").clear()
# driver.find_element_by_id('m_text').send_keys(content)
# driver.find_element_by_name("m_submit").click()
# time.sleep(20)
newlines=[]
sendlist=[l[1] for l in lines]
print(sendlist)
for num in sendlist:
try :
# senddouyou(num)
newlines.append(num)
except Exception as e:
print(str(num) +" fail")
# driver.close()
alreadydf[rc].append(pd.DataFrame(data=[ line for line in lines if line[1] in newlines],columns=rc)).to_csv(all_df_path)