Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
crawler
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
backend
crawler
Commits
aeb48597
Commit
aeb48597
authored
Aug 17, 2021
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b6079ebc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3 additions
and
8 deletions
+3
-8
app_soyoung.py
dev/xinyang_ask_tag/app_soyoung.py
+0
-0
app_soyoung_by_cityname.py
dev/xinyang_ask_tag/app_soyoung_by_cityname.py
+0
-0
city_parse.py
dev/xinyang_ask_tag/city_parse.py
+0
-0
save_soyoung_data_to_csv.py
dev/xinyang_ask_tag/save_soyoung_data_to_csv.py
+2
-5
soyoung_service_1.csv
dev/xinyang_ask_tag/soyoung_service_1.csv
+0
-2
soyoung_service_cika.csv
dev/xinyang_ask_tag/soyoung_service_cika.csv
+0
-0
soyoung_service_other.csv
dev/xinyang_ask_tag/soyoung_service_other.csv
+0
-0
soyoung_service_write_cika.csv
dev/xinyang_ask_tag/soyoung_service_write_cika.csv
+0
-0
test.py
dev/xinyang_ask_tag/test.py
+1
-1
No files found.
dev/xinyang_ask_tag/app_soyoung.py
View file @
aeb48597
This diff is collapsed.
Click to expand it.
dev/xinyang_ask_tag/app_soyoung_by_cityname.py
View file @
aeb48597
This diff is collapsed.
Click to expand it.
dev/xinyang_ask_tag/city.py
→
dev/xinyang_ask_tag/city
_parse
.py
View file @
aeb48597
File moved
dev/xinyang_ask_tag/save_soyoung_data_to_csv.py
View file @
aeb48597
...
...
@@ -87,11 +87,8 @@ if __name__ == '__main__':
nowday
=
datetime
.
datetime
.
now
()
today
=
str
(
nowday
)
.
split
()[
0
]
all_data
=
[]
# city_list = ["北京", "上海", "广州市", "深圳市", "杭州市", "成都市", "重庆", "南京市", "武汉市", "长沙市", "郑州市", "西安市"]
city_list
=
[
"save_data_2021-07-27.txt"
,
"save_data_2021-07-28.txt"
,
"save_data_2021-07-29.txt"
]
for
city_name
in
city_list
:
# file_name = "save_data_" + today + ".txt"
# print(file_name)
file_list
=
[
"save_data_2021-07-27.txt"
,
"save_data_2021-07-28.txt"
,
"save_data_2021-07-29.txt"
]
for
city_name
in
file_list
:
if
os
.
path
.
exists
(
city_name
):
open_file
=
open
(
city_name
,
"r"
,
encoding
=
"utf-8"
)
for
item
in
open_file
.
readlines
():
...
...
dev/xinyang_ask_tag/soyoung_service_1.csv
deleted
100644 → 0
View file @
b6079ebc
0,666426,108536,北京俏中关医疗美容门诊部,9800,1972,5,【除皱瘦脸】美国进口标准装【除皱瘦脸】瘦脸针100U·足量·正品 进口/提升/下颌线,329,"['付尾款,最高立减068', '尾款满100减8']",[],瘦脸针,北京,新氧,https://m.soyoung.com/normal/cpwap666426
1,84880,82258,北京画美医疗美容医院,1680,551,4.8,【注射瘦脸】除皱瘦脸国产80-100u 限购一次 正品足量 正品可验 小V脸 去咬肌 咬肌肥大瘦脸针,2321,[],['新人首单立减0629'],瘦脸针,北京,新氧,https://m.soyoung.com/normal/cpwap84880
dev/xinyang_ask_tag/soyoung_service_cika.csv
View file @
aeb48597
This diff is collapsed.
Click to expand it.
dev/xinyang_ask_tag/soyoung_service_other.csv
deleted
100644 → 0
View file @
b6079ebc
This diff is collapsed.
Click to expand it.
dev/xinyang_ask_tag/soyoung_service_write_cika.csv
deleted
100644 → 0
View file @
b6079ebc
This diff is collapsed.
Click to expand it.
dev/xinyang_ask_tag/test.py
View file @
aeb48597
...
...
@@ -66,7 +66,7 @@ def get_cika_info_to_csv():
try
:
cika_price_dict
=
dict
()
print
(
"index:"
,
item
.
strip
()
.
split
(
","
)[
0
])
if
int
(
item
.
strip
()
.
split
(
","
)[
0
])
>
3
375
5
:
if
int
(
item
.
strip
()
.
split
(
","
)[
0
])
>
3
464
5
:
service_id
=
item
.
strip
()
.
split
(
","
)[
2
]
url
=
item
.
strip
()
.
split
(
","
)[
-
1
]
if
service_id
in
have_read_service
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment