承接 akane0151/target-crawler 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

akane0151/target-crawler

最新稳定版本:0.9.7

Composer 安装命令:

composer create-project akane0151/target-crawler

包简介

target crawler - A simple Laravel crawler package to read element of any webpage.

README 文档

README

Built on


Logo

Laravel TargetCrawler

An awesome crawler to simply fetch your specific data from any pages!
Explore the docs »

Table of Contents
  1. Installation and Usage
  2. License
  3. Contact

Usage

_Below is an example of how you can use this package in your laravel project.

  1. Install it as composer package in your project
    composer require akane0151/target-crawler
  2. Publish its config in your laravel config directory
    php artisan vendor:publish
  3. Set your target website url and the html elements in config/targetCrawler.php
    'url' => "https://google.com"
    
    'elements' => array(
         'a .menu-item',
         'table tbody tr .id'
     )
  4. Add _Akane0151\TargetCrawler\TargetCrawler namespace to your code and call crawl function as below example
    public function getPrice(){
         //call doCrawl to execute crawl request to target and fetch the element data
         return TargetCrawler::doCrawl();
     }

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Ali kameli akane0151@yahoo.com

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固