kopia lustrzana https://github.com/bellingcat/auto-archiver
Add (skipped) test for twitter extraction with youtubedlp
rodzic
5626bba815
commit
3168bed0d9
|
@ -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
|
Ładowanie…
Reference in New Issue