Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Fix extracting recent tweet not working because of wrong locator #44

Merged
merged 1 commit into from
Dec 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion twitter_video_tools/twitter_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _get_article_links_in_current_screen(self) -> list[str]:
links: list[str] = []

while True:
articles = self.page.locator('article:has(video)')
articles = self.page.locator('article')
article_length = articles.count()
try:
links = [
Expand Down