mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
@@ -26,12 +26,13 @@ module.exports = async (ctx) => {
|
||||
.map((index, item) => $(item).text())
|
||||
.get();
|
||||
|
||||
for (let i = 1; i < $list.length; i++) {
|
||||
for (let i = 2; i < $list.length; i++) {
|
||||
if (
|
||||
$list
|
||||
.eq(i)
|
||||
.find('td a')
|
||||
.attr('href') === `http://oil.usd-cny.com/${area}.htm`
|
||||
.attr('href')
|
||||
.includes(`oil.usd-cny.com/${area}.htm`)
|
||||
) {
|
||||
const $item = $list.eq(i);
|
||||
areaName = $item.find('td a').text();
|
||||
|
||||
Reference in New Issue
Block a user