Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
laodc
libs
dom
Commits
899bcbed
Commit
899bcbed
authored
2 years ago
by
Derek Spranger
Browse files
Options
Downloads
Plain Diff
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
!2
use version stated in composer
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
composer.json
+1
-0
1 addition, 0 deletions
composer.json
composer.lock
+1
-1
1 addition, 1 deletion
composer.lock
lib/Dom.php
+2
-2
2 additions, 2 deletions
lib/Dom.php
with
4 additions
and
3 deletions
composer.json
+
1
−
0
View file @
899bcbed
...
...
@@ -2,6 +2,7 @@
"name"
:
"laodc/dom"
,
"description"
:
"HTML DOM tree parser"
,
"type"
:
"library"
,
"version"
:
"0.1.4"
,
"authors"
:
[
{
"name"
:
"LaoDC"
,
...
...
This diff is collapsed.
Click to expand it.
composer.lock
+
1
−
1
View file @
899bcbed
...
...
@@ -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": "0
96ea78ae23d3909eec5a9f3285dd54e
",
"content-hash": "0
003dfc63975d72556ecd8335cf66da0
",
"packages": [
{
"name": "laodc/functions",
...
...
This diff is collapsed.
Click to expand it.
lib/Dom.php
+
2
−
2
View file @
899bcbed
...
...
@@ -27,7 +27,7 @@
CURLOPT_RETURNTRANSFER
=>
1
,
CURLOPT_FRESH_CONNECT
=>
1
,
CURLOPT_FORBID_REUSE
=>
1
,
CURLOPT_USERAGENT
=>
'LaoDC Business Crawler v
0.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
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment