[video] Update how we get video metadata for YT add

This commit is contained in:
2025-01-20 09:13:18 -05:00
parent 89e5455b29
commit c109ed79eb
13 changed files with 317 additions and 159 deletions

View File

@ -0,0 +1,8 @@
import pytest
from videos.sources.youtube import lookup_video_from_youtube
@pytest.mark.django_db
def test_lookup_youtube_id():
metadata = lookup_video_from_youtube("RZxs9pAv99Y")
assert metadata.title == "No Pun Included's Board Game of the Year 2024"