telegram-channel-scraper icon indicating copy to clipboard operation
telegram-channel-scraper copied to clipboard

Only HTTP(S) protocols are supported

Open TripleThreads opened this issue 6 years ago • 4 comments

(node:3237) UnhandledPromiseRejectionWarning: TypeError: Only HTTP(S) protocols are supported at getNodeRequestOptions (/home/segni/Documents/telegram-channel-scraper/node_modules/node-fetch/lib/index.js:1261:9) at /home/segni/Documents/telegram-channel-scraper/node_modules/node-fetch/lib/index.js:1322:19 at new Promise () at fetch (/home/segni/Documents/telegram-channel-scraper/node_modules/node-fetch/lib/index.js:1319:9) at sendToServer (/home/segni/Documents/telegram-channel-scraper/chat-history.js:69:26) at chatHistory (/home/segni/Documents/telegram-channel-scraper/chat-history.js:56:24) (node:3237) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:3237) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

TripleThreads avatar Jun 06 '19 08:06 TripleThreads

Still doesn't work by september 2020

SneakBug8 avatar Sep 03 '20 20:09 SneakBug8

Unfortunately not. But hey I will work on this if people are interested

abdhass avatar Sep 03 '20 20:09 abdhass

you just need to run npm upgrade it seems it just requires a node-fetch upgrade 👍

ItsNash0 avatar Nov 09 '20 19:11 ItsNash0

you just need to run npm upgrade it seems it just requires a node-fetch upgrade 👍

This still doesnt work for me? i tried running npm install node-fetch@latest

HoJinKind avatar Apr 04 '21 05:04 HoJinKind