mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-12 05:18:33 +03:00
15 lines
569 B
Python
15 lines
569 B
Python
from cisticola.base import Channel
|
|
from cisticola.scraper import RumbleScraper
|
|
|
|
def test_scrape_rumble_channel_no_media(controller, channel_kwargs):
|
|
|
|
channels = [Channel(**channel_kwargs['rumble'])]
|
|
controller.register_scraper(scraper = RumbleScraper())
|
|
controller.scrape_channels(channels = channels, media = False)
|
|
|
|
def test_scrape_rumble_channel(controller, channel_kwargs):
|
|
|
|
channels = [Channel(**channel_kwargs['rumble'])]
|
|
controller.register_scraper(scraper = RumbleScraper())
|
|
controller.scrape_channels(channels = channels, media = True)
|