goutte Questions
2
Solved
I'm trying to make a request to the website with Symfony/Goutte but I'm receiving such error:
In ErrorChunk.php line 65:
SSL peer certificate or SSH remote key was not OK for "https://examp...
4
Solved
I'm scraping from a UTF-8 site, using Goutte, which internally uses Guzzle. The site declares a meta tag of UTF-8, thus:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
...
Biaxial asked 13/9, 2013 at 9:3
3
I have the following code but it always returns a 407 HTTP status code.
$url = 'http://whatismyip.org';
$client = new Client();
$options = array(
'proxy' => array(
'http' => 'tcp://@x.x....
3
Solved
I am using PHP 7.1.33 and "fabpot/goutte": "^3.2". My composer file looks like the following:
{
"name": "ubuntu/workspace",
"require": {
"fabpot/goutte": "^3.2"
},
"authors": [
{
"name": "a...
Degradation asked 4/1, 2020 at 21:8
3
Many times when crawling we run into problems where content that is rendered on the page is generated with Javascript and therefore scrapy is unable to crawl for it (eg. ajax requests, jQuery)
Exaggerate asked 17/4, 2016 at 7:4
2
Solved
My problem is that it doesn't just require a basic cookie, but rather asks for a session cookie, and for randomly generated IDs. I think this means I need to use a web browser emulator with a cooki...
1
Can you please help me to find a way to get a content from meta description, meta keywords and robots content using Goutte. Also, how can I target <link rel="stylesheet" href=""> and <scri...
Tega asked 26/3, 2014 at 23:7
1
Solved
I'm trying to access to the Guzzle Response object from Goutte. Because that object has nice methods that i want to use. getEffectiveUrl for example.
As far as i can see there is no way doing it w...
2
Solved
Issue:
Cannot fully understand the Goutte web scraper.
Request:
Can someone please help me understand or provide code to help me better understand how to use Goutte the web scraper? I have read ov...
Fleischer asked 26/3, 2013 at 3:34
1
I'm current using Behat with Mink & Goutte Driver. When i'm trying to use it with my dev environment, via the app_dev.php file, which is a typical app_dev.php file from a Symfony2 Standard Edit...
1
© 2022 - 2024 — McMap. All rights reserved.