mirror of
https://github.com/karl0ss/JDRssDownloader.git
synced 2025-04-27 20:03:40 +01:00
working logic fix
This commit is contained in:
parent
4a0460aea3
commit
2df901b47e
@ -21,8 +21,8 @@ async function filterFeed() {
|
|||||||
let full_link_list_from_page = await getLinksFromURL(list_filtered_for_show[0].link)
|
let full_link_list_from_page = await getLinksFromURL(list_filtered_for_show[0].link)
|
||||||
if (hevcSwitch) {
|
if (hevcSwitch) {
|
||||||
// Only get urls with HEVC in name
|
// Only get urls with HEVC in name
|
||||||
let urls_with_HEVC_in_url = full_link_list_from_page.filter(item => item.includes('HEVC'))
|
urls_to_check = full_link_list_from_page.filter(item => item.includes('HEVC'))
|
||||||
if (urls_with_HEVC_in_url.length == 0) {
|
if (urls_to_check.length == 0) {
|
||||||
// If no urls with HEVC check for H265
|
// If no urls with HEVC check for H265
|
||||||
urls_to_check = full_link_list_from_page.filter(item => item.includes('H265'))
|
urls_to_check = full_link_list_from_page.filter(item => item.includes('H265'))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user