单击“加载更多”按钮时,如何找到nex页面链接?

时间:2018-12-10 08:08:57

标签: javascript python html ajax

我正在尝试查找下一页链接的来源。 原始页面是-this 我正在寻找的链接具有以下模式-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 &amp;&amp; !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 &amp;&amp; !vm.hideIf" ng-click="vm.click()">LOAD MORE</div><!-- end ngIf: vm.model.length && !vm.hideIf -->
</div>
</kcl-load-more>

链接的cache=967399174部分是如何生成的?

0 个答案:

没有答案