Skip to content

Commit

Permalink
ajuste de regra
Browse files Browse the repository at this point in the history
  • Loading branch information
altendorfme committed Dec 24, 2024
1 parent bdd81cb commit 775b6bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/data/domain_rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
'classAttrRemove' => ['wall', 'protected-content', 'cropped-block']
],
'gauchazh.clicrbs.com.br' => [
'idElementRemove' => ['paywallTemplate'],
'classAttrRemove' => ['m-paid-content', 'paid-content-apply'],
'scriptTagRemove' => ['vendors-', 'verdors-'],
'scriptTagRemove' => ['vendors-8'],
'excludeGlobalRules' => [
'classElementRemove' => ['paid-content']
],
Expand Down
3 changes: 2 additions & 1 deletion app/inc/URLAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ private function fetchFromSelenium($url, $browser)

$driver->get($url);

$htmlSource = $driver->getPageSource();
$htmlSource = $driver->executeScript("return document.documentElement.outerHTML;");
//$htmlSource = $driver->getPageSource();

$driver->quit();

Expand Down

0 comments on commit 775b6bd

Please sign in to comment.