Comments (14)
In order to test branches, packagist automatically publishes branches. you can access them by using dev-<branch-name>
. So in order to test i just did "spekulatius/phpscraper": "dev-181-switch-from-goutte-to-browser-kit as 1.0.2"
and composer u
.
Looks good so far, will make some tests. thanks
from phpscraper.
@spekulatius great, thanks for taking care 👍
from phpscraper.
@spekulatius Thank you for the quick responses and solution!
from phpscraper.
from phpscraper.
Thanks! I just upgraded and tested to 2.0, works 👍
from phpscraper.
Hey @nadar
yeah, Goutte is more or less just a wrapper around other packages at this point. It looks as if using the original dependencies instead is the way to go. I'm pretty busy atm. Do you think you could look into this? Otherwise it will have to wait a bit.
Cheers,
Peter
from phpscraper.
First of all, thank you @spekulatius for this great scraper and all the work you put into it. I really appreciate it.
I get a similar error like @nadar mentioned when switching to PHP 8.2.6.
The "Goutte\Client" class is deprecated, use "Symfony\Component\BrowserKit\HttpBrowser" instead
I wish I could help with solving the error, but unfortunately, I'm not that familiar with Goutte and BrowserKit. I will wait patiently for the fix and in the meantime switch back to PHP 7.4.x. Again, thanks for this amazing tool.
from phpscraper.
Hello @nadar and @monsefsolutions,
I've pushed a branch called 181-switch-from-goutte-to-browser-kit
to address this issue by switching the base lib. Could you clone the repo into your vendor folder and test this? Thank you!
Cheers,
Peter
from phpscraper.
Hi @spekulatius,
Thank you for your quick response, really appreciate it. I just copied the files from the new branch and I do not get any errors anymore with PHP 8.2.6 active. Thank you!
from phpscraper.
Sounds like we are on a good path. I'll check it a bit more merge it and tag a new major release (as the interface changes)
from phpscraper.
I've merged the branch and will tag a new major release once a number of smaller fixes have been included @nadar & @monsefsolutions.
from phpscraper.
Hello @nadar & @monsefsolutions
I've pushed the last changes for v2. Could you give the v2
branch a spin and see if you notice any problems before I merge and tag it? Thank you in advance!
Peter
from phpscraper.
Okay, let me know if you find any issues @monsefsolutions 👍
from phpscraper.
Hello @monsefsolutions and @nadar,
I've tagged a new major release. Feel free to give it a try and let me know if you find any issues.
Cheers,
Peter
from phpscraper.
Related Issues (20)
- [Proposal] Exposing Goutte/Client via client() property/callable method HOT 1
- Allow to set cookies
- TypeError HOT 3
- get http status code HOT 7
- Parsing structured data (microdata) HOT 3
- Idea: Discovery Sets
- Idea: Implement low-level util to access the web. HOT 1
- Idea: Directly exposing received headers HOT 1
- What location PHPSCrapper based on? HOT 1
- Docker Composer Install Error HOT 12
- [Request] Add robots.txt parsing HOT 3
- [Request] Sitemap Index Files HOT 2
- Syntax Error when i tried using PHP 7.3 HOT 3
- Spanish web content not displayed correctly '?' is putted instead of the correct character HOT 1
- Fix problems reported by PHPStan HOT 5
- psr/http-message 2.0 compatibility HOT 2
- issue about php scraping api HOT 1
- Scraping a site with CloudFlare protection/redirect returns no results HOT 2
- upgrade path for 3.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpscraper.