Coder Social home page Coder Social logo

reliqarts / laravel-scavenger Goto Github PK

View Code? Open in Web Editor NEW
152.0 4.0 9.0 549 KB

The most integrated web scraper package for Laravel.

Home Page: https://scavenger.reliqarts.com

License: MIT License

PHP 100.00%
web scraper laravel scavenger laravel-scavenger laravel-6-package laravel-7-package laravel-8-package laravel-9-package hacktoberfest

laravel-scavenger's Issues

Can you give an example on parsing xml

i want to use this package to scrape xml data .....but i want to use the config file to define my tags and parameter just like you did in example :
'bing' => [
'example' => true,
'serp' => true,
'model' => 'App\BingResult',
'source' => 'https://www.bing.com',
'search' => [
'keywords' => ['dog'],
'form' => [
'selector' => 'form#sb_form',
'keyword_input_name' => 'q',
],
],
'pages' => 3,
'pager' => [
'selector' => '.sb_pagN',
],
'markup' => [
'__result' => '.b_algo',
'title' => 'h2 a',
'description' => '.b_caption p',
'link' => '__link',
'position' => '__position',
],

example url from where i want to fetch my data https://www.geo.tv/rss/1/0

`` i want to fetch all the adat in item tags =>

<title>GEO TV - Entertainment</title> https://www.geo.tv/ GeoTV, Geo News, Latest-News, Breaking News, Pakistan, Live Videos Mon, 25 Jul 2022 15:59:12 +0500 en-US <title> </title> ]]> <title> </title> ]]> ``

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.