mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Merge pull request #1647 from hackerncoder/removeOmarrothMentions
Remove omarroth mentions
This commit is contained in:
commit
ba148d749f
7 changed files with 8 additions and 6 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
# Note: This is no longer updated and links to omarroths repo, which doesn't exist anymore.
|
||||||
|
|
||||||
# 0.20.0 (2019-011-06)
|
# 0.20.0 (2019-011-06)
|
||||||
|
|
||||||
# Version 0.20.0: Custom Playlists
|
# Version 0.20.0: Custom Playlists
|
||||||
|
|
|
@ -9,9 +9,9 @@ keywords:
|
||||||
- video
|
- video
|
||||||
- privacy
|
- privacy
|
||||||
home: https://invidio.us/
|
home: https://invidio.us/
|
||||||
icon: https://raw.githubusercontent.com/omarroth/invidious/05988c1c49851b7d0094fca16aeaf6382a7f64ab/assets/favicon-32x32.png
|
icon: https://raw.githubusercontent.com/iv-org/invidious/05988c1c49851b7d0094fca16aeaf6382a7f64ab/assets/favicon-32x32.png
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/omarroth/invidious
|
- https://github.com/iv-org/invidious
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Leon Klingele
|
- name: Leon Klingele
|
||||||
email: mail@leonklingele.de
|
email: mail@leonklingele.de
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: invidious
|
name: invidious
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: omarroth/invidious
|
repository: iv-org/invidious
|
||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ version: 0.20.1
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Omar Roth <omarroth@protonmail.com>
|
- Omar Roth <omarroth@protonmail.com>
|
||||||
|
- Invidous team
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
invidious:
|
invidious:
|
||||||
|
|
|
@ -242,7 +242,7 @@ end
|
||||||
|
|
||||||
def fetch_reddit_comments(id, sort_by = "confidence")
|
def fetch_reddit_comments(id, sort_by = "confidence")
|
||||||
client = make_client(REDDIT_URL)
|
client = make_client(REDDIT_URL)
|
||||||
headers = HTTP::Headers{"User-Agent" => "web:invidious:v#{CURRENT_VERSION} (by /u/omarroth)"}
|
headers = HTTP::Headers{"User-Agent" => "web:invidious:v#{CURRENT_VERSION} (by github.com/iv-org/invidious)"}
|
||||||
|
|
||||||
# TODO: Use something like #479 for a static list of instances to use here
|
# TODO: Use something like #479 for a static list of instances to use here
|
||||||
query = "(url:3D#{id}%20OR%20url:#{id})%20(site:invidio.us%20OR%20site:youtube.com%20OR%20site:youtu.be)"
|
query = "(url:3D#{id}%20OR%20url:#{id})%20(site:invidio.us%20OR%20site:youtube.com%20OR%20site:youtu.be)"
|
||||||
|
|
|
@ -95,7 +95,6 @@ class Config
|
||||||
property port : Int32 = 3000 # Port to listen for connections (overrided by command line argument)
|
property port : Int32 = 3000 # Port to listen for connections (overrided by command line argument)
|
||||||
property host_binding : String = "0.0.0.0" # Host to bind (overrided by command line argument)
|
property host_binding : String = "0.0.0.0" # Host to bind (overrided by command line argument)
|
||||||
property pool_size : Int32 = 100 # Pool size for HTTP requests to youtube.com and ytimg.com (each domain has a separate pool of `pool_size`)
|
property pool_size : Int32 = 100 # Pool size for HTTP requests to youtube.com and ytimg.com (each domain has a separate pool of `pool_size`)
|
||||||
property admin_email : String = "omarroth@protonmail.com" # Email for bug reports
|
|
||||||
|
|
||||||
@[YAML::Field(converter: Preferences::StringToCookies)]
|
@[YAML::Field(converter: Preferences::StringToCookies)]
|
||||||
property cookies : HTTP::Cookies = HTTP::Cookies.new # Saved cookies in "name1=value1; name2=value2..." format
|
property cookies : HTTP::Cookies = HTTP::Cookies.new # Saved cookies in "name1=value1; name2=value2..." format
|
||||||
|
|
|
@ -427,7 +427,7 @@ def generate_captcha(key, db)
|
||||||
end
|
end
|
||||||
|
|
||||||
def generate_text_captcha(key, db)
|
def generate_text_captcha(key, db)
|
||||||
response = make_client(TEXTCAPTCHA_URL, &.get("/omarroth@protonmail.com.json").body)
|
response = make_client(TEXTCAPTCHA_URL, &.get("/github.com/iv.org/invidious.json").body)
|
||||||
response = JSON.parse(response)
|
response = JSON.parse(response)
|
||||||
|
|
||||||
tokens = response["a"].as_a.map do |answer|
|
tokens = response["a"].as_a.map do |answer|
|
||||||
|
|
Loading…
Reference in a new issue