Giter Site home page Giter Site logo

michaeluno / php-simple-web-scraper Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 19.0 1.43 MB

A PHP application which runs on Heroku and dumps web site outputs including JavaScript generated contents.

License: MIT License

PHP 65.28% JavaScript 34.40% HTML 0.32%
heroku scraper php phantomjs crowler proxy cross-site cross-domain cross-domain-request cross-domain-solution

php-simple-web-scraper's People

Contributors

michaeluno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

php-simple-web-scraper's Issues

Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load()

Issue

Warning: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file) in : php-simple-web-scraper\vendor\jonnyw\php-phantomjs\src\JonnyW\PhantomJs\DependencyInjection\ServiceContainer.php on line 20

Fatal error: Uncaught Error: Call to undefined method JonnyW\PhantomJs\Http\Request::addSetting() in php-simple-web-scraper\web\include\class\Browser\Browser.php on line 17

Javascript content show issue

Hi, by using heroku i am deployed the app, and it works like a fire their and tried to get the javascript content of the web page, and exactly what i needed i got it , but the same thing i tried in Windows server 2019, everything installed without any issues including phantomJs also.
When i try to crawl the same web page here, i am not getting javascript content what i got in heroku.

Can i know what is the possible reason for this ?
PhantomJs bin path:
http://3.134.82.150/crowl/vendor/bin/phantomjs.exe
Here the details of links what i am used
Heroku link:
https://pcrawl.herokuapp.com/
Or try at yours web page
https://php-simple-web-scraper.herokuapp.com/

Windows link:
http://3.134.82.150/crowl/web/
Crawl link:
http://3.134.82.150/d_a.php

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.