mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-11 04:48:33 +03:00
9 lines
326 B
Python
9 lines
326 B
Python
from cisticola.base import Channel
|
|
from cisticola.scraper import TelegramSnscrapeScraper
|
|
|
|
def test_scrape_telegram_snscrape_channel(controller, channel_kwargs):
|
|
|
|
channels = [Channel(**channel_kwargs['telegram_snscrape'])]
|
|
controller.register_scraper(TelegramSnscrapeScraper())
|
|
controller.scrape_channels(channels)
|