diff --git a/nebula_rss/nebula_feed.py b/nebula_rss/nebula_feed.py index 83a2a82..62b00ce 100644 --- a/nebula_rss/nebula_feed.py +++ b/nebula_rss/nebula_feed.py @@ -12,7 +12,7 @@ class NebulaFeed: fg = FeedGenerator() fg.id(self.feed_url) fg.title('Nebula subscriptions') - fg.logo('https://nebula.app/apple-touch-icon.png') + fg.logo('https://nebula.tv/apple-touch-icon.png') fg.subtitle('Your subscribed videos') fg.link(href=self.feed_url, rel='self') fg.language('en') diff --git a/tests/test_nebula_rss.py b/tests/test_nebula_rss.py index d3a71b8..10ded43 100644 --- a/tests/test_nebula_rss.py +++ b/tests/test_nebula_rss.py @@ -48,7 +48,7 @@ def test_video_parsing(): }, 'thumbnail': {'240': {'original': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.jpeg?height=240&', 'webp': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.webp?height=240&'}, '480': {'original': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.jpeg?height=480&', 'webp': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.webp?height=480&'}, '720': {'original': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.jpeg?height=720&', 'webp': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.webp?height=720&'}, '1080': {'original': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.jpeg?height=1080&', 'webp': 'https://images.watchnebula.com/p/ffcd9296-2857-469d-9c00-1c7bace3407e.webp?height=1080&'}}}, # noqa 'attributes': ['free_sample_eligible'], - 'share_url': 'https://nebula.app/videos/wendover-electric-vehicles-battery-problem/', + 'share_url': 'https://nebula.tv/videos/wendover-electric-vehicles-battery-problem/', 'channel': None, 'engagement': None, 'zype_id': '61dd99e519d76400018b94b0' @@ -56,6 +56,6 @@ def test_video_parsing(): video = NebulaLoader._parse_api_response(example_response) assert video.title == "Electric Vehicles' Battery Problem" assert video.creator == 'Wendover' - assert video.url == 'https://nebula.app/videos/wendover-electric-vehicles-battery-problem/' + assert video.url == 'https://nebula.tv/videos/wendover-electric-vehicles-battery-problem/' assert video.release_at == datetime.datetime(2022, 1, 11, 15, 3, 33, tzinfo=datetime.timezone.utc) print(video)