Toggle navigation
Toggle navigation
This project
Loading...
Sign in
전세계
/
FakerQuiz
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
전세계
2020-06-03 16:57:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
94fbbea6e8161d54a615d67bf72db6b083cfdfcb
94fbbea6
1 parent
921224f3
기능: 통산 전적 크롤링
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
app.js
app.js
View file @
94fbbea
...
...
@@ -64,6 +64,24 @@ getHTML()
};
//#endregion
//#region 통산 전적
var
td
=
$
(
'div.scriptorium'
).
children
(
'div.listTable'
).
eq
(
1
).
find
(
'table tbody tr'
).
children
();
fakerData
[
'fullCareer'
]
=
{
totalGamePlay
:
td
.
eq
(
0
).
text
(),
totalWin
:
td
.
eq
(
1
).
text
(),
totalLose
:
td
.
eq
(
2
).
text
(),
winRate
:
td
.
eq
(
3
).
text
(),
totalKill
:
td
.
eq
(
4
).
text
(),
totalDeath
:
td
.
eq
(
5
).
text
(),
totalAssist
:
td
.
eq
(
6
).
text
(),
killPerMatch
:
td
.
eq
(
7
).
text
(),
deathPerMatch
:
td
.
eq
(
8
).
text
(),
assistPerMatch
:
td
.
eq
(
9
).
text
(),
kDA
:
td
.
eq
(
10
).
text
(),
kP
:
td
.
eq
(
11
).
text
()
}
//#endregion
return
fakerData
;
})
.
then
(
res
=>
console
.
log
(
res
));
...
...
Please
register
or
login
to post a comment