mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Clean up footer and add version
This commit is contained in:
parent
a39b1583da
commit
5859cd290c
3 changed files with 32 additions and 28 deletions
|
@ -90,6 +90,8 @@ YT_URL = URI.parse("https://www.youtube.com")
|
|||
REDDIT_URL = URI.parse("https://www.reddit.com")
|
||||
LOGIN_URL = URI.parse("https://accounts.google.com")
|
||||
TEXTCAPTCHA_URL = URI.parse("http://textcaptcha.com/omarroth@hotmail.com.json")
|
||||
CURRENT_COMMIT = `git rev-list HEAD --max-count=1 --abbrev-commit`.strip
|
||||
CURRENT_VERSION = `git describe --tags $(git rev-list --tags --max-count=1)`.strip
|
||||
|
||||
LOCALES = {
|
||||
"ar" => load_locale("ar"),
|
||||
|
@ -119,6 +121,12 @@ config.video_threads.times do |i|
|
|||
end
|
||||
end
|
||||
|
||||
# stats = Statistics.new
|
||||
# if config.statistics
|
||||
# spawn do
|
||||
# end
|
||||
# end
|
||||
|
||||
top_videos = [] of Video
|
||||
if config.top_enabled
|
||||
spawn do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue