mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 03:52:05 +00:00
fix: trusted isn't a good indicator of quality anymore
This commit is contained in:
parent
bc2b3d5f4a
commit
f68f6a91a8
2 changed files with 2 additions and 12 deletions
|
|
@ -135,9 +135,8 @@ async function getRSSEntries ({ media, episode, mode, ignoreQuality }) {
|
|||
|
||||
const excl = exclusions.join('|')
|
||||
const quality = (!ignoreQuality && (`"${settings.rssQuality}"` || '"1080"')) || ''
|
||||
const trusted = settings.rssTrusted === true ? 2 : 0
|
||||
const url = new URL(
|
||||
`https://nyaa.si/?page=rss&c=1_2&f=${trusted}&s=seeders&o=desc&q=(${titles})${ep}${quality}-(${excl})`
|
||||
`https://nyaa.si/?page=rss&c=1_2&f=2&s=seeders&o=desc&q=(${titles})${ep}${quality}-(${excl})`
|
||||
)
|
||||
|
||||
let nodes = [...(await getRSSContent(url)).querySelectorAll('item')]
|
||||
|
|
@ -149,7 +148,7 @@ async function getRSSEntries ({ media, episode, mode, ignoreQuality }) {
|
|||
const titles = createTitle(absolute.media).join(')|(')
|
||||
|
||||
const url = new URL(
|
||||
`https://nyaa.si/?page=rss&c=1_2&f=${trusted}&s=seeders&o=desc&q=(${titles})${epstring(absoluteep)}${quality}-(${excl})`
|
||||
`https://nyaa.si/?page=rss&c=1_2&f=2&s=seeders&o=desc&q=(${titles})${epstring(absoluteep)}${quality}-(${excl})`
|
||||
)
|
||||
nodes = [...nodes, ...(await getRSSContent(url)).querySelectorAll('item')]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ const defaults = {
|
|||
rssQuality: '1080',
|
||||
rssFeeds: [['New Releases', 'SubsPlease']],
|
||||
rssAutoplay: true,
|
||||
rssTrusted: true,
|
||||
torrentSpeed: 10,
|
||||
torrentPersist: false,
|
||||
torrentDHT: false,
|
||||
|
|
@ -230,14 +229,6 @@ window.IPC.on('path', data => {
|
|||
<input type='checkbox' id='rss-autoplay' bind:checked={settings.rssAutoplay} />
|
||||
<label for='rss-autoplay'>Auto-Play Torrents</label>
|
||||
</div>
|
||||
<div
|
||||
class='custom-switch mb-10 pl-10 font-size-16 w-300'
|
||||
data-toggle='tooltip'
|
||||
data-placement='bottom'
|
||||
data-title='Finds Only Trusted Torrents, Gives Less Results But Higher Quality And With More Seeders'>
|
||||
<input type='checkbox' id='rss-trusted' bind:checked={settings.rssTrusted} />
|
||||
<label for='rss-trusted'>Trusted Only</label>
|
||||
</div>
|
||||
</div>
|
||||
</Tab>
|
||||
<Tab>
|
||||
|
|
|
|||
Loading…
Reference in a new issue