Toggle navigation
Toggle navigation
This project
Loading...
Sign in
곽윤철
/
youtube-comment-seperator
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
곽교린
2022-05-14 23:30:57 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a229c1ed4864369edd331f5686c7814a6e1cfe5
8a229c1e
1 parent
384a1432
Feat loading next comment page button
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
CommentLoadingTest.js
CommentLoadingTest.js
View file @
8a229c1
...
...
@@ -40,6 +40,7 @@ function showcomment(response, VideoNum){
<iframe width="560" height="315" src="https://www.youtube.com/embed/
${
VideoNum
}
" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<br>
<a href="http://localhost:3000/search?videourl=
${
VideoNum
}
&nextpage=
${
savednpt
}
"><input type="button" value="댓글 더 불러오기"></a>
<br>
${
commentDisplay
}
</body>
...
...
@@ -122,8 +123,8 @@ var app = http.createServer(function(request,response){ // request는 브라우
commentNum
=
0
;
//코멘트 리스트 초기화
videoNum
=
queryData
.
videourl
;
console
.
log
(
videoNum
);
let
npt
=
""
if
(
queryData
.
nextpage
!=
null
)
npt
=
queryData
.
nextpage
loadcomment
(
apiKey
,
videoNum
,
npt
,
2
,
response
);
}
});
...
...
Please
register
or
login
to post a comment