javascript - 单击“加载更多”按钮时如何找到下一个页面链接?
问题描述
我试图找到下一页链接的来源。原始页面是-我
正在寻找的链接具有以下模式-https://api.krazy.com/v4/2/graphql?cache=967399174
我可以访问该链接并获取所有标题以使其正常工作。问题是我看不到这个链接是如何生成的。搜索页面源代码,开发工具没有为我返回任何结果。这是加载更多按钮的代码。
<kcl-load-more main-class="mb-25" on-click="addMorePosts()" model="latestPosts" model-loading="postsLoading" class="ng-isolate-scope"><div class="kcl-load-more mb-25" ng-class="vm.mainClass">
<!-- ngIf: vm.model.length && !vm.hideIf --><button class="kcl-btn ng-scope" ng-class="vm.buttonClass" ng-click="vm.click()" ng-disabled="vm.loading || vm.modelLoading" ng-if="vm.model.length && !vm.hideIf">
<span class="hidden-side-scroll">LOAD MORE</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.09 34.39" height="32" width="32" aria-labelledby="title" class="icon visible-side-scroll">
<title>Load More</title>
<path fill="#3B3B3B" d="M35.09,17.19s0-.09,0-.13h0a1.31,1.31,0,0,0-.38-.78l0,0L18.82.38A1.31,1.31,0,0,0,17,2.23L30.62,15.88H1.31a1.31,1.31,0,0,0,0,2.62H30.62L17,32.15A1.31,1.31,0,1,0,18.82,34L34.67,18.15l0,0a1.31,1.31,0,0,0,.38-.79h0s0-.09,0-.14Z"></path>
</svg>
</button><!-- end ngIf: vm.model.length && !vm.hideIf -->
<!-- ngIf: vm.model.length && !vm.hideIf --><div class="visible-side-scroll text-center ng-scope" ng-if="vm.model.length && !vm.hideIf" ng-click="vm.click()">LOAD MORE</div><!-- end ngIf: vm.model.length && !vm.hideIf -->
</div>
</kcl-load-more>
cache=967399174
链接的部分是如何生成的?
解决方案
推荐阅读
- unity3d - 放置对象的 Unity 按钮
- javascript - 来自 JavaScript 中 JSON 的 Protobuf 消息
- mysql - Gitlab Ci Pipeline 问题:Nodejs 无法连接到 Mysql 数据库
- regex - 正则表达式查找与特定模式匹配的行
- python - 如何改善此功能的 scipy 最小化结果?
- c - STM32 UART传输问题(阻塞和中断模式)
- javascript - 如何重用代码并使其更灵活?
- reactjs - 如何在两个设定日期之间使用 Material UI “进度指示器”?
- c++ - C++ 函数挂起与句柄恢复
- javascript - 动态数据库字段值(HTML 和实时 Firebase)