我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在动态生成的页面上使用XPATH从页面中获取图像(PHP)

I'm trying to fetch all the images from a certain page. This page has link like www.website.com/#1234567; however, when I load it with xpath or get_contents, this #1234567 part gets cut, and the portion of the page I'm looking for is not loaded.

There is a <a href="#1234567"> button that triggers ajax and loads the rest of the page. Is there a way to 'click' it or somehow trigger this ajax within xpath?

Is there other solutions?

Thank you for your time.

近期文章

  • fpdf输出无法加载到浏览器中。
  • 我们可以理解http请求的来源或重定向吗?
  • Wordpress:在单个自定义帖子类型页面上提交帖子方法表单返回404
  • 访问数组内部对象
  • PHP和NodeJS与mongodb
  • 加载图像和数据一起出现
  • Composer下载错误 - 证书验证失败
  • JSignature - 在下一页打印签名
  • PHP DOMDocument node.Value替换
  • 如何使用MAMP安装sybase扩展
  • NirCmd监视器无法从php工作
  • 在我的Controller中使用外部类
  • foreach循环在laravel中逐个执行
  • cakephp ajax更新div不会出现
  • php - 解析日期格式更改时区
  • 我应该在我的Codeigniter项目中将'use'关键字放在哪里以全局访问它?
  • ScopeCrossingInjectionException:Symfony2.7
  • Facebook数据库表格模型的帖子和附件l
  • PHP5中的Ajax - 使用其他下拉列表更新下拉列表
  • PHP:如何获得子域名:www2或www35

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华