Skip to content
Snippets Groups Projects
Commit 899bcbed authored by Derek Spranger's avatar Derek Spranger
Browse files

Merge branch 'main' into '0.1'

use version stated in composer

See merge request laodc/dom!2
parents 2f83129c 6908dffd
Branches 0.1
Tags 0.1.2
1 merge request!2use version stated in composer
......@@ -2,6 +2,7 @@
"name": "laodc/dom",
"description": "HTML DOM tree parser",
"type": "library",
"version": "0.1.4",
"authors": [
{
"name": "LaoDC",
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "096ea78ae23d3909eec5a9f3285dd54e",
"content-hash": "0003dfc63975d72556ecd8335cf66da0",
"packages": [
{
"name": "laodc/functions",
......
......@@ -27,7 +27,7 @@
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_FRESH_CONNECT => 1,
CURLOPT_FORBID_REUSE => 1,
CURLOPT_USERAGENT => 'LaoDC Business Crawler v0.1.4',
CURLOPT_USERAGENT => 'LaoDC Business Crawler v' . \Composer\InstalledVersions::getRootPackage()['version'],
];
if( !empty( $post ) )
......@@ -60,4 +60,4 @@
return $this->dom->childNodes;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment