Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Twitter seems to behave better with a non-browser User-Agent.

Steve Micallefe409bf6be522
diff --git a/modules/sfp_twitter.py b/modules/sfp_twitter.py
index d6f2e222..75788547 100644
--- a/modules/sfp_twitter.py
+++ b/modules/sfp_twitter.py
@@ -61,7 +61,7 @@ class sfp_twitter(SpiderFootPlugin):
return None
res = self.sf.fetchUrl("https://mobile.twitter.com/" + name, timeout=self.opts['_fetchtimeout'],
- useragent=self.opts['_useragent'])
+ useragent="SpiderFoot")
if res['content'] is None:
return None