Correction du probleme sur les commentaires speciaux

This commit is contained in:
2024-11-22 19:56:56 +01:00
parent aab9af6372
commit 614b5a5e7f
6 changed files with 154 additions and 57 deletions

View File

@@ -29,7 +29,7 @@ class ContestController extends Controller
$i = 1;
while ($i < 50){
while ($i < 10){
$results = $crawler->filterXPath('//div[@class="timeline-item "]')->each(function ($node) {
$id = ($node->filterXPath('//*[@class="tweet-link"]'))->attr('href');
$created_at = ($node->filterXPath('//span[@class="tweet-date"]/a'))->attr('title');