mirror of
https://github.com/manualdousuario/marreta.git
synced 2026-04-28 19:41:21 +00:00
adicionado suporte a lista de proxy
This commit is contained in:
parent
86e6c9b838
commit
b283965299
9 changed files with 202 additions and 14 deletions
|
|
@ -13,6 +13,7 @@
|
|||
* - classAttrRemove: Array of classes to be removed from elements
|
||||
* - customCode: String containing custom JavaScript code
|
||||
* - customStyle: String containing custom CSS code
|
||||
* - proxy: Enable proxy in Guzzle or Selenium requests
|
||||
* - excludeGlobalRules: Associative array of global rules to exclude for this domain
|
||||
* Example:
|
||||
* 'excludeGlobalRules' => [
|
||||
|
|
@ -705,7 +706,7 @@ return [
|
|||
}, 1000);
|
||||
})
|
||||
'
|
||||
],
|
||||
],
|
||||
// Test domain
|
||||
'altendorfme.github.io' => [
|
||||
'userAgent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
||||
|
|
@ -714,6 +715,7 @@ return [
|
|||
'Cache-Control' => 'no-cache',
|
||||
'Pragma' => 'no-cache'
|
||||
],
|
||||
'proxy' => true,
|
||||
'idElementRemove' => ['test-id-1', 'paywall'],
|
||||
'classElementRemove' => ['test-class-1'],
|
||||
'scriptTagRemove' => ['analytics.js', 'test-script.js', 'paywall.js'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue