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-14 01:45:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0164bbc3eafd2af033f2d46543181ea1304ed57f
0164bbc3
1 parent
9e254c43
기능: 선수 닉네임 크롤링
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
app.js
app.js
View file @
0164bbc
...
...
@@ -42,6 +42,9 @@ function getData() {
const
$
=
cheerio
.
load
(
html
.
data
);
var
playerName
=
$
(
'div#lolMain h2.block.name'
).
text
().
split
(
' '
);
fakerData
[
'name'
]
=
playerName
[
playerName
.
length
-
1
];
//#region LCK 통산 전적
var
tr
=
$
(
'table.table.log_list.log01 tbody'
).
children
();
var
td
=
tr
.
eq
(
0
).
children
();
...
...
Please
register
or
login
to post a comment