aitestai / node-dcinside Goto Github PK
View Code? Open in Web Editor NEW디시인사이드 Api | An unofficial Dcinside Web Api
License: GNU General Public License v3.0
디시인사이드 Api | An unofficial Dcinside Web Api
License: GNU General Public License v3.0
알고 싶습니다...
{ result: 'false', err_msg: '잘못된 접근입니다.' }
`const { DcinsideApi } = require('node-dcinside');
const client = new DcinsideApi({
username: 'ㅇㅇ',
password: 1234
});
(async function () {
const res = await client.requestArticleInfo('baseball_new11', 5) /** response t_vch1가 I면 아이폰 공앱, S면 운영자, A면 안드로이드 공앱, W면 웹, V면 모바일 웹 */
console.log(res);
})()`
위와 같은 코드로 ArticleInfo 요청시 { result: 'false', err_msg: '잘못된 접근입니다.' }
에러가 발생합니다.
지금 getarticleinfo 작동 확인이 되지 않는데
Articleinfo에 글 내용을 가져오는 기능 추가가 가능할까요?
auth를 사용하는 프록시를 사용할 때,
작업 중 오류가 발생했습니다: Error: 갤러리를 찾을 수 없습니다: at DcinsideApi.checkVaildGall (node_modules/node-dcinside/dist/api/api.js:966:15)
문제가 발생합니다.
사용한 코드:
const proxyConfig = {
protocol: 'http',
host: '',
port: ,
auth: {
username: '',
password: ''
}
};
// DcinsideApi 인스턴스 생성
const client = new DcinsideApi({
username: 'ㅇㅇ',
password: 1234,
captcha: true,
proxy: proxyConfig
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.