From f27a065925af9555580210dd09ce3a93192b1c6f Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Wed, 30 Mar 2022 16:41:18 -0500 Subject: [PATCH] Adding nitter providers and changing the default one. --- .../NitterUser.class/class/nitterProvider.st | 6 ++++++ .../NitterUser.class/instance/userNameLink.st | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Datanalitica.package/NitterUser.class/class/nitterProvider.st diff --git a/Datanalitica.package/NitterUser.class/class/nitterProvider.st b/Datanalitica.package/NitterUser.class/class/nitterProvider.st new file mode 100644 index 0000000..11c9954 --- /dev/null +++ b/Datanalitica.package/NitterUser.class/class/nitterProvider.st @@ -0,0 +1,6 @@ +accessing +nitterProvider + "For a full list of Nitter providers, see: + + https://github.com/zedeus/nitter/wiki/Instances" + ^ 'https://nitter.42l.fr/' \ No newline at end of file diff --git a/Datanalitica.package/NitterUser.class/instance/userNameLink.st b/Datanalitica.package/NitterUser.class/instance/userNameLink.st index a0fea3b..71f452b 100644 --- a/Datanalitica.package/NitterUser.class/instance/userNameLink.st +++ b/Datanalitica.package/NitterUser.class/instance/userNameLink.st @@ -1,4 +1,4 @@ accessing userNameLink - ^ 'https://nitter.net/' , self userName \ No newline at end of file + ^ self class nitterProvider, self userName \ No newline at end of file