Skip to content

Commit d25497a

Browse files
authored
Merge pull request #1 from rgasch/release/1.0.1
Release/1.0.1
2 parents 6f75ace + 7f9f16b commit d25497a

9 files changed

+271
-269
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# AutoScraper
22

3-
AutoScraper is a PHP class designed to scrape web pages and extract data based on predefined rules.
4-
This README provides examples of how to use the class to capture a scraping definition and then reuse
5-
this definition to scrape other similar pages.
3+
1. [ ] **_AutoScraper is a PHP class designed to scrape web pages and extract data based on predefined rules.
4+
2. [ ] This README provides examples of how to use the class to capture a scraping definition and then reuse
5+
3. [ ] this definition to scrape other similar pages._**
66

77
AutoScraper is a port of the [Python AutoScraper](https://github.com/alirezamika/autoscraper) library by [Alireza Mika](https://github.com/alirezamika).
88
It is intended to be compatible in its public API, but it contains some additions and changes to better fit the PHP ecosystem.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"symfony/browser-kit": "^7.2",
1919
"symfony/dom-crawler": "^7.2",
2020
"symfony/http-client": "^7.2",
21-
"thecodingmachine/safe": "^2.5"
21+
"thecodingmachine/safe": "^3.0"
2222
},
2323
"require-dev": {
2424
"orchestra/testbench": "^9.0.0||^8.22.0",

composer.lock

+261-259
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AutoScraper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Rgasch\AutoScraper;
44

src/AutoScraperCaptureCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
require_once 'vendor/autoload.php';
44

src/AutoScraperScrapeCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
require_once 'vendor/autoload.php';
44

src/Crawler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Rgasch\AutoScraper;
44

src/FuzzyText.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Rgasch\AutoScraper;
44

src/Helpers/UserAgentHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Rgasch\AutoScraper\Helpers;
44

0 commit comments

Comments
 (0)