Add (skipped) test for twitter extraction with youtubedlp

pull/175/head
Patrick Robertson 2025-01-15 19:00:57 +01:00
rodzic 5626bba815
commit 3168bed0d9
1 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -60,4 +60,12 @@ class TestYoutubeDLArchiver(TestArchiverBase):
@pytest.mark.download
def test_download_bluesky_with_images(self, make_item):
item = make_item("https://bsky.app/profile/colborne.bsky.social/post/3lec2bqjc5s2y")
result = self.archiver.download(item)
result = self.archiver.download(item)
assert result is not False
@pytest.mark.skip("ytdlp supports twitter, but there's currently no way to extract info from pages without videos")
@pytest.mark.download
def test_download_twitter_textonly(self, make_item):
item = make_item("https://x.com/bellingcat/status/1874097816571961839")
result = self.archiver.download(item)
assert result is not False