WebP Express CloudHost.es Fix v0.25.9-cloudhost
✅ Fixed bulk conversion getting stuck on missing files ✅ Added robust error handling and timeout protection ✅ Improved JavaScript response parsing ✅ Added file existence validation ✅ Fixed missing PHP class imports ✅ Added comprehensive try-catch error recovery 🔧 Key fixes: - File existence checks before conversion attempts - 30-second timeout protection per file - Graceful handling of 500 errors and JSON parsing issues - Automatic continuation to next file on failures - Cache busting for JavaScript updates 🎯 Result: Bulk conversion now completes successfully even with missing files 🚀 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
3
vendor/kub-at/php-simple-html-dom-parser/CONTRIBUTING.md
vendored
Normal file
3
vendor/kub-at/php-simple-html-dom-parser/CONTRIBUTING.md
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Contributing
|
||||
|
||||
I'm not the maintainer of the PHP Simple HTML DOM Parser project (https://sourceforge.net/projects/simplehtmldom/)
|
||||
21
vendor/kub-at/php-simple-html-dom-parser/LICENSE
vendored
Normal file
21
vendor/kub-at/php-simple-html-dom-parser/LICENSE
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 Jakub Stawowy
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
29
vendor/kub-at/php-simple-html-dom-parser/README.md
vendored
Normal file
29
vendor/kub-at/php-simple-html-dom-parser/README.md
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
php-simple-html-dom-parser
|
||||
==========================
|
||||
|
||||
Version 1.9.1 - PHP 7.3 compatible
|
||||
PHP Simple HTML DOM Parser changelog: https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.9.1/
|
||||
|
||||
|
||||
Install
|
||||
-------
|
||||
|
||||
```
|
||||
composer require kub-at/php-simple-html-dom-parser
|
||||
```
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
```php
|
||||
use KubAT\PhpSimple\HtmlDomParser;
|
||||
|
||||
...
|
||||
$dom = HtmlDomParser::str_get_html( $str );
|
||||
or
|
||||
$dom = HtmlDomParser::file_get_html( $file_name );
|
||||
|
||||
$elems = $dom->find($elem_name);
|
||||
...
|
||||
|
||||
```
|
||||
24
vendor/kub-at/php-simple-html-dom-parser/composer.json
vendored
Normal file
24
vendor/kub-at/php-simple-html-dom-parser/composer.json
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "kub-at/php-simple-html-dom-parser",
|
||||
"description": "PHP Simple HTML DOM Parser with namespace and PHP 7.3 compatible",
|
||||
"keywords": ["html", "dom", "simple"],
|
||||
"homepage": "http://simplehtmldom.sourceforge.net/",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "S.C. Chen",
|
||||
"email": "me578022@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Jakub Stawowy",
|
||||
"email": "Kub-AT@users.noreply.github.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "KubAT\\PhpSimple\\HtmlDomParser": "src/" }
|
||||
}
|
||||
}
|
||||
16
vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/HtmlDomParser.php
vendored
Normal file
16
vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/HtmlDomParser.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace KubAT\PhpSimple;
|
||||
|
||||
require 'lib'.DIRECTORY_SEPARATOR.'simple_html_dom.php';
|
||||
|
||||
|
||||
class HtmlDomParser {
|
||||
|
||||
static public function file_get_html() {
|
||||
return call_user_func_array('\simple_html_dom\file_get_html' , func_get_args());
|
||||
}
|
||||
|
||||
static public function str_get_html() {
|
||||
return call_user_func_array('\simple_html_dom\str_get_html' , func_get_args());
|
||||
}
|
||||
}
|
||||
2355
vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php
vendored
Normal file
2355
vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user