mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-08 03:18:34 +03:00
9 lines
288 B
Python
9 lines
288 B
Python
from cisticola.base import Channel
|
|
from cisticola.scraper import TwitterScraper
|
|
|
|
def test_scrape_twitter_channel(controller, channel_kwargs):
|
|
|
|
channels = [Channel(**channel_kwargs['twitter'])]
|
|
controller.register_scraper(TwitterScraper())
|
|
controller.scrape_channels(channels)
|