2020-09-16 00:14:44 +07:00
|
|
|
# YII Dumper
|
|
|
|
Parsing HTML pages at a given depth
|
|
|
|
```sh
|
|
|
|
$ yii dump https://domain.zone/foo $DEPTH $BUFFER $FORCE $EXTERNAL $ANOTHER_PATH
|
|
|
|
```
|
|
|
|
- The larger the buffer size, the faster the program runs
|
|
|
|
- Logs are stored in the directory /runtime/logs
|
|
|
|
|
|
|
|
|
|
|
|
## Sample
|
|
|
|
```sh
|
|
|
|
$ yii dump https://domain.zone/foo 2 50
|
|
|
|
```
|
|
|
|
## Requirements
|
|
|
|
* **PHP ^7.2**
|
|
|
|
* **CURL**
|
|
|
|
|
|
|
|
## TODO
|
|
|
|
1. $searchExternal to $depthExterntal
|
|
|
|
2. Fix processing of the link: zakupki.gov.ru/data/common-info.html?regNumber=0816500000619001511
|
2020-09-19 18:15:38 +07:00
|
|
|
3. The construction </base> needs to be modified to check an existing tag
|