mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
Update search.js
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
// 添加参数keyword以及判断传入的参数sfw
|
||||
let url = `https://faexport.spangle.org.uk/search.json?q=${keyword}?sfw=1`;
|
||||
if (nsfw === 1 || keyword === 1) {
|
||||
if (nsfw === '1' || keyword === '1') {
|
||||
url = `https://faexport.spangle.org.uk/search.json?q=${keyword}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user