Skip to content

Commit 4d50c35

Browse files
committed
MAINT: remove deprecated twitter collector
fixes #2346 fixes #2441 I've left the Twitter parser in place, as it is generic and can be used with other sources
1 parent adb2d15 commit 4d50c35

File tree

7 files changed

+1
-202
lines changed

7 files changed

+1
-202
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- `intelmq.bots.collectors.mail.collector_mail_url`:
2929
- Log the downloaded size in bytes to ease troubleshooting (PR#2554 by Sebastian Wagner).
3030
- Fix import for Timeout exception preventing another exception (fixes #2555, PR#2556 by Sebastian Wagner).
31+
- Remove `intelmq.bots.collectors.twitter` as it uses an unmaintained library and does not work any more (fixes #2346, #2441, PR#2568 by Sebastian Wagner).
3132

3233
#### Parsers
3334
- `intelmq.bots.parsers.shadowserver._config`:

docs/user/bots.md

-53
Original file line numberDiff line numberDiff line change
@@ -1276,59 +1276,6 @@ Also, you will need to know an appropriate STOMP *destination* (aka
12761276

12771277
(optional, string) Password to use.
12781278

1279-
---
1280-
1281-
### Twitter (REMOVE?) <div id="intelmq.bots.collectors.twitter.collector_twitter" />
1282-
1283-
Collects tweets.
1284-
1285-
Collects tweets from target_timelines. Up to tweet_count tweets from each user and up to timelimit back in time. The
1286-
tweet text is sent separately and if allowed, links to pastebin are followed and the text sent in a separate report
1287-
1288-
**Module:** `intelmq.bots.collectors.twitter.collector_twitter`
1289-
1290-
**Parameters (also expects [feed parameters](#feed-parameters)):**
1291-
1292-
**`target_timelines`**
1293-
1294-
() screen_names of twitter accounts to be followed
1295-
1296-
**`tweet_count`**
1297-
1298-
() number of tweets to be taken from each account
1299-
1300-
**`timelimit`**
1301-
1302-
() maximum age of the tweets collected in seconds
1303-
1304-
**`follow_urls`**
1305-
1306-
() list of screen_names for which URLs will be followed
1307-
1308-
**`exclude_replies`**
1309-
1310-
() exclude replies of the followed screen_names
1311-
1312-
**`include_rts`**
1313-
1314-
() whether to include retweets by given screen_name
1315-
1316-
**`consumer_key`**
1317-
1318-
() Twitter API login data
1319-
1320-
**`consumer_secret`**
1321-
1322-
() Twitter API login data
1323-
1324-
**`access_token_key`**
1325-
1326-
() Twitter API login data
1327-
1328-
**`access_token_secret`**
1329-
1330-
() Twitter API login data
1331-
13321279
## Parser Bots
13331280

13341281
If not set differently during parsing, all parser bots copy the following fields from the report to an event:

intelmq/bots/collectors/twitter/REQUIREMENTS.txt

-4
This file was deleted.

intelmq/bots/collectors/twitter/__init__.py

Whitespace-only changes.

intelmq/bots/collectors/twitter/collector_twitter.py

-134
This file was deleted.

intelmq/tests/bots/collectors/twitter/__init__.py

Whitespace-only changes.

intelmq/tests/bots/collectors/twitter/test_collector_twitter.py

-11
This file was deleted.

0 commit comments

Comments
 (0)