From 75fea828cb20ea92c53a0740dc96bf553ec67621 Mon Sep 17 00:00:00 2001 From: jtagcat Date: Tue, 4 Aug 2020 04:17:52 +0300 Subject: [PATCH] Change the default invidio.us (EoL) to snopyta's. --- README.md | 2 +- nitter.conf | 2 +- src/prefs_impl.nim | 2 +- src/views/rss.nimf | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index be10211..ad79426 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Build Status](https://travis-ci.org/zedeus/nitter.svg?branch=master)](https://travis-ci.org/zedeus/nitter) A free and open source alternative Twitter front-end focused on privacy. \ -Inspired by the [invidio.us](https://github.com/omarroth/invidious) project. +Inspired by the [Invidious](https://github.com/iv-org/invidious) project. - No JavaScript or ads - All requests go through the backend, client never talks to Twitter diff --git a/nitter.conf b/nitter.conf index 99b0d18..0d7f54c 100644 --- a/nitter.conf +++ b/nitter.conf @@ -32,7 +32,7 @@ tokenCount = 10 [Preferences] theme = "Nitter" replaceTwitter = "nitter.net" -replaceYouTube = "invidio.us" +replaceYouTube = "invidious.snopyta.org" replaceInstagram = "" proxyVideos = true hlsPlayback = false diff --git a/src/prefs_impl.nim b/src/prefs_impl.nim index bc039cb..21fec25 100644 --- a/src/prefs_impl.nim +++ b/src/prefs_impl.nim @@ -54,7 +54,7 @@ genPrefs: "Replace Twitter links with Nitter (blank to disable)" placeholder: "Nitter hostname" - replaceYouTube(input, "invidio.us"): + replaceYouTube(input, "invidious.snopyta.org"): "Replace YouTube links with Invidious (blank to disable)" placeholder: "Invidious hostname" diff --git a/src/views/rss.nimf b/src/views/rss.nimf index c88fe9e..a39d693 100644 --- a/src/views/rss.nimf +++ b/src/views/rss.nimf @@ -63,7 +63,7 @@ #end proc # #proc renderTimelineRss*(timeline: Timeline; profile: Profile; hostname: string; multi=false): string = -#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us") +#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org") #result = "" #let user = (if multi: "" else: "@") & profile.username #var title = profile.fullname @@ -94,7 +94,7 @@ #end proc # #proc renderListRss*(tweets: seq[Tweet]; list: List; hostname: string): string = -#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us") +#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org") #let link = &"https://{hostname}/{list.username}/lists/{list.name}" #result = "" @@ -112,7 +112,7 @@ #end proc # #proc renderSearchRss*(tweets: seq[Tweet]; name, param, hostname: string): string = -#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us") +#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org") #let link = &"https://{hostname}/search" #let escName = xmltree.escape(name) #result = ""