mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-14 00:28:31 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
259b8e478a
35
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
35
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a bug report to help us improve Invidious
|
||||||
|
title: '[Bug] '
|
||||||
|
labels: bug
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please use the search function to check if the bug you found has already been reported by someone else -->
|
||||||
|
<!-- If you want to suggest a new feature please use "Feature request" instead -->
|
||||||
|
<!-- If you want to suggest an enhancement to an existing feature please use "Enhancement" instead -->
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
<!-- A clear and concise description of what the bug is. -->
|
||||||
|
|
||||||
|
**Steps to Reproduce**
|
||||||
|
<!-- Steps to reproduce the behavior:
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
-->
|
||||||
|
|
||||||
|
**Logs**
|
||||||
|
<!-- If applicable, copy the log that appear in the browser page where the error is reported. -->
|
||||||
|
|
||||||
|
**Screenshots**
|
||||||
|
<!-- If applicable, add screenshots to help explain your problem. -->
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
<!-- Add any other context about the problem here.
|
||||||
|
- Browser (if applicable):
|
||||||
|
- OS (if applicable):
|
||||||
|
-->
|
24
.github/ISSUE_TEMPLATE/enhancement.md
vendored
Normal file
24
.github/ISSUE_TEMPLATE/enhancement.md
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
name: Enhancement
|
||||||
|
about: Suggest an enhancement for an existing feature
|
||||||
|
title: '[Enhancement] '
|
||||||
|
labels: enhancement
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please use the search function to check if the desired function has already been requested by someone else -->
|
||||||
|
<!-- If you want to suggest a new feature please use "Feature request" instead -->
|
||||||
|
<!-- If you want to report a bug, please use "Bug report" instead -->
|
||||||
|
|
||||||
|
**Is your enhancement request related to a problem? Please describe.**
|
||||||
|
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
|
||||||
|
|
||||||
|
**Describe the solution you'd like**
|
||||||
|
<!-- A clear and concise description of what you want to happen. -->
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
<!-- Add any other context or screenshots about the enhancement here. -->
|
24
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
24
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
title: '[Feature request] '
|
||||||
|
labels: feature-request
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please use the search function to check if the desired function has already been requested by someone else -->
|
||||||
|
<!-- If you want to suggest an enhancement to an existing feature please use "Enhancement" instead -->
|
||||||
|
<!-- If you want to report a bug, please use "Bug report" instead -->
|
||||||
|
|
||||||
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
|
||||||
|
|
||||||
|
**Describe the solution you'd like**
|
||||||
|
<!-- A clear and concise description of what you want to happen. -->
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
<!-- Add any other context or screenshots about the feature request here. -->
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"`x` subscribers.([^.,0-9]|^)1([^.,0-9]|$)": "`x` tilaaja",
|
"`x` subscribers.([^.,0-9]|^)1([^.,0-9]|$)": "`x` tilaaja",
|
||||||
"`x` subscribers.": "`x` tilaajaa",
|
"`x` subscribers.": "`x` tilaajaa.",
|
||||||
"`x` videos.([^.,0-9]|^)1([^.,0-9]|$)": "`x` video",
|
"`x` videos.([^.,0-9]|^)1([^.,0-9]|$)": "`x` video",
|
||||||
"`x` videos.": "`x` videota",
|
"`x` videos.": "`x` videota.",
|
||||||
"`x` playlists.([^.,0-9]|^)1([^.,0-9]|$)": "`x` soittolista.([^.,0-9]|^)1([^.,0-9]|$)",
|
"`x` playlists.([^.,0-9]|^)1([^.,0-9]|$)": "`x` soittolista.([^.,0-9]|^)1([^.,0-9]|$)",
|
||||||
"`x` playlists.": "`x` soittolistaa",
|
"`x` playlists.": "`x` soittolistaa.",
|
||||||
"LIVE": "SUORA",
|
"LIVE": "SUORA",
|
||||||
"Shared `x` ago": "Jaettu `x` sitten",
|
"Shared `x` ago": "Jaettu `x` sitten",
|
||||||
"Unsubscribe": "Peruuta tilaus",
|
"Unsubscribe": "Peruuta tilaus",
|
||||||
|
@ -411,4 +411,6 @@
|
|||||||
"hdr": "HDR",
|
"hdr": "HDR",
|
||||||
"filter": "סינון",
|
"filter": "סינון",
|
||||||
"Current version: ": "הגרסה הנוכחית: "
|
"Current version: ": "הגרסה הנוכחית: "
|
||||||
|
|
||||||
|
"Import and Export Data": "",
|
||||||
}
|
}
|
||||||
|
@ -231,7 +231,7 @@ def extract_item(item : JSON::Any, author_fallback : String? = nil, author_id_fa
|
|||||||
video_id = i["videoId"].as_s
|
video_id = i["videoId"].as_s
|
||||||
title = i["title"].try { |t| t["simpleText"]?.try &.as_s || t["runs"]?.try &.as_a.map(&.["text"].as_s).join("") } || ""
|
title = i["title"].try { |t| t["simpleText"]?.try &.as_s || t["runs"]?.try &.as_a.map(&.["text"].as_s).join("") } || ""
|
||||||
|
|
||||||
author_info = i["ownerText"]?.try &.["runs"].as_a[0]?
|
author_info = i["ownerText"]?.try &.["runs"]?.try &.as_a?.try &.[0]?
|
||||||
author = author_info.try &.["text"].as_s || author_fallback || ""
|
author = author_info.try &.["text"].as_s || author_fallback || ""
|
||||||
author_id = author_info.try &.["navigationEndpoint"]?.try &.["browseEndpoint"]["browseId"].as_s || author_id_fallback || ""
|
author_id = author_info.try &.["navigationEndpoint"]?.try &.["browseEndpoint"]["browseId"].as_s || author_id_fallback || ""
|
||||||
|
|
||||||
@ -322,7 +322,7 @@ def extract_item(item : JSON::Any, author_fallback : String? = nil, author_id_fa
|
|||||||
video_count = i["videoCount"]?.try &.as_s.to_i || 0
|
video_count = i["videoCount"]?.try &.as_s.to_i || 0
|
||||||
playlist_thumbnail = i["thumbnails"].as_a[0]?.try &.["thumbnails"]?.try &.as_a[0]?.try &.["url"].as_s || ""
|
playlist_thumbnail = i["thumbnails"].as_a[0]?.try &.["thumbnails"]?.try &.as_a[0]?.try &.["url"].as_s || ""
|
||||||
|
|
||||||
author_info = i["shortBylineText"]?.try &.["runs"].as_a[0]?
|
author_info = i["shortBylineText"]?.try &.["runs"]?.try &.as_a?.try &.[0]?
|
||||||
author = author_info.try &.["text"].as_s || author_fallback || ""
|
author = author_info.try &.["text"].as_s || author_fallback || ""
|
||||||
author_id = author_info.try &.["navigationEndpoint"]?.try &.["browseEndpoint"]["browseId"].as_s || author_id_fallback || ""
|
author_id = author_info.try &.["navigationEndpoint"]?.try &.["browseEndpoint"]["browseId"].as_s || author_id_fallback || ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user