Xiang (@xjfkkk)我老早就想爬这个图床了——分享在huggingface自动爬取链接 中发帖

1分钟获取1次链接,避免风控,一天也能爬取3600张图片 😉 
上图:
[image]
Dockerfile代码:
FROM node:14

WORKDIR /app

COPY package.json .
RUN npm install

COPY . .

EXPOSE 8080

CMD ["node", "index.js"]

README.md最后加
app_port: 8080

[image]
index.js
const http = require('http');
const fetch = require('node-fetch');
const cron = require('node-cron');

const IMAGE_API_URL = 'https://tuapi.eees.cc/api.php?category=dongman&t...