mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-15 18:30:53 +08:00
refactor: rename axios to got
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const axios = require('@/utils/axios');
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
const ProcessFeed = async (list, cache) => {
|
||||
@@ -12,7 +12,7 @@ const ProcessFeed = async (list, cache) => {
|
||||
// try catch 处理被删除的帖子
|
||||
|
||||
try {
|
||||
response = await axios({
|
||||
response = await got({
|
||||
method: 'get',
|
||||
url: link,
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user