Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Sep 4, 2023
1 parent 1893630 commit f60fe15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .phpunit.cache/test-results
@@ -1 +1 @@
{"version":1,"defects":{"GoogleSerpTest::testPuphpeteerMobile":8,"GoogleSerpTest::testCurlMobile":8,"GoogleSerpTest::testExtractionPositionZero":8,"GoogleSerpTest::testExtractMaps":8,"GlobalTest::testTextDataExtractor":7,"GoogleSerpTest::testExtractMapsB":8},"times":{"PiedWeb\\Crawler\\Test\\CrawlerTest::testIt":10.7,"PiedWeb\\Crawler\\Test\\CrawlerTest::testCommand":0.235,"PiedWeb\\Crawler\\Test\\CrawlerTest::testWitchCachId":0.347,"PiedWeb\\Curl\\Test\\HelperTest::testSchemeFromProxy":0,"PiedWeb\\Curl\\Test\\HelperTest::testCheckContentType":0,"PiedWeb\\Curl\\Test\\HelperTest::testCheckStatusCode":0,"PiedWeb\\Curl\\Test\\RequestTest::testDownloadIfHtml":0.359,"PiedWeb\\Curl\\Test\\RequestTest::testNotDownload":0.168,"PiedWeb\\Curl\\Test\\RequestTest::testEffectiveUrl":21.509,"PiedWeb\\Curl\\Test\\RequestTest::testCurlError":0.031,"PiedWeb\\Curl\\Test\\RequestTest::test404":0.23,"PiedWeb\\Curl\\Test\\RequestTest::testAllMethods":0.172,"PiedWeb\\Curl\\Test\\RequestTest::testMultipleCheckInHeaders":0.119,"PiedWeb\\Curl\\Test\\RequestTest::testProxy":1.001,"PiedWeb\\Curl\\Test\\RequestTest::testAbortIfTooBig":10.251,"PiedWeb\\Curl\\Test\\RequestTest::testDownloadOnlyFirstBytes":0.19,"PiedWeb\\Curl\\Test\\RequestTest::testResponseFromCache":0,"PiedWeb\\Curl\\Test\\StaticWrapperTest::testStaticGet":0.057,"GlobalTest::testEncoding":0,"GlobalTest::testCanonical":0.602,"GlobalTest::testTextDataExtractor":0.335,"GlobalTest::testHrefLangExtractor":0.597,"GoogleSerpTest::testPuphpeteerMobile":6.633,"GoogleSerpTest::testCurlMobile":0.461,"GoogleSerpTest::testExtractionPositionZero":0.516,"GoogleSerpTest::testExtractMaps":1.747,"GoogleSuggesterTest::testGoogleSuggester":1.474,"GoogleTrendsTest::testTrendsCurl":0.001,"GoogleTrendsTest::testTrendsPuppet":0.001,"PiedWeb\\TextAnalyzer\\Test\\AnalyzerTest::testMultiAnalyzer":0.013,"PiedWeb\\TextAnalyzer\\Test\\AnalyzerTest::testTextAnalyzer":0.006,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testSimpleSentences":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testRemoveExtremityStopWords":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testRemoveExtremityStopWords2":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testRemoveStopWords":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testStripTags":0.001,"GoogleSerpTest::testRelatedSearches":0.453,"GoogleSerpTest::testExtractMapsB":0.704}}
{"version":1,"defects":{"GoogleSerpTest::testPuphpeteerMobile":8,"GoogleSerpTest::testCurlMobile":8,"GoogleSerpTest::testExtractionPositionZero":8,"GoogleSerpTest::testExtractMaps":8,"GlobalTest::testTextDataExtractor":7,"GoogleSerpTest::testExtractMapsB":8},"times":{"PiedWeb\\Crawler\\Test\\CrawlerTest::testIt":0.678,"PiedWeb\\Crawler\\Test\\CrawlerTest::testCommand":0.223,"PiedWeb\\Crawler\\Test\\CrawlerTest::testWitchCachId":0.343,"PiedWeb\\Curl\\Test\\HelperTest::testSchemeFromProxy":0,"PiedWeb\\Curl\\Test\\HelperTest::testCheckContentType":0,"PiedWeb\\Curl\\Test\\HelperTest::testCheckStatusCode":0,"PiedWeb\\Curl\\Test\\RequestTest::testDownloadIfHtml":0.399,"PiedWeb\\Curl\\Test\\RequestTest::testNotDownload":0.355,"PiedWeb\\Curl\\Test\\RequestTest::testEffectiveUrl":20.541,"PiedWeb\\Curl\\Test\\RequestTest::testCurlError":0.033,"PiedWeb\\Curl\\Test\\RequestTest::test404":0.255,"PiedWeb\\Curl\\Test\\RequestTest::testAllMethods":0.227,"PiedWeb\\Curl\\Test\\RequestTest::testMultipleCheckInHeaders":0.12,"PiedWeb\\Curl\\Test\\RequestTest::testProxy":1.002,"PiedWeb\\Curl\\Test\\RequestTest::testAbortIfTooBig":0.203,"PiedWeb\\Curl\\Test\\RequestTest::testDownloadOnlyFirstBytes":0.246,"PiedWeb\\Curl\\Test\\RequestTest::testResponseFromCache":0,"PiedWeb\\Curl\\Test\\StaticWrapperTest::testStaticGet":0.153,"GlobalTest::testEncoding":0.002,"GlobalTest::testCanonical":0.662,"GlobalTest::testTextDataExtractor":0.356,"GlobalTest::testHrefLangExtractor":0.602,"GoogleSerpTest::testPuphpeteerMobile":7.056,"GoogleSerpTest::testCurlMobile":0.482,"GoogleSerpTest::testExtractionPositionZero":0.581,"GoogleSerpTest::testExtractMaps":1.767,"GoogleSuggesterTest::testGoogleSuggester":1.563,"GoogleTrendsTest::testTrendsCurl":0.002,"GoogleTrendsTest::testTrendsPuppet":0.002,"PiedWeb\\TextAnalyzer\\Test\\AnalyzerTest::testMultiAnalyzer":0.006,"PiedWeb\\TextAnalyzer\\Test\\AnalyzerTest::testTextAnalyzer":0.002,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testSimpleSentences":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testRemoveExtremityStopWords":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testRemoveExtremityStopWords2":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testRemoveStopWords":0,"PiedWeb\\ExpressionHarvester\\Test\\CleanTextTest::testStripTags":0,"GoogleSerpTest::testRelatedSearches":0.502,"GoogleSerpTest::testExtractMapsB":0.704}}
6 changes: 3 additions & 3 deletions packages/crawler/src/Url.php
Expand Up @@ -426,7 +426,7 @@ public function getTitle(): string

public function setTitle(string $title): void
{
$this->title = substr($title, 0, 300);
$this->title = substr($title, 0, 230);
}

public function getUpdatedAt(): \DateTimeInterface
Expand Down Expand Up @@ -589,7 +589,7 @@ public function getMetaDescription(): string

public function setMetaDescription(string $metaDescription): void
{
$this->metaDescription = substr($metaDescription, 0, 300);
$this->metaDescription = substr($metaDescription, 0, 230);
}

public function getH1(): string
Expand All @@ -599,7 +599,7 @@ public function getH1(): string

public function setH1(string $h1): void
{
$this->h1 = substr($h1, 0, 300);
$this->h1 = substr($h1, 0, 230);
}

/**
Expand Down

0 comments on commit f60fe15

Please sign in to comment.