Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not download #3

Open
AntonSamokat opened this issue Feb 3, 2025 · 1 comment
Open

Does not download #3

AntonSamokat opened this issue Feb 3, 2025 · 1 comment

Comments

@AntonSamokat
Copy link

AntonSamokat commented Feb 3, 2025

The last two commands failed after about 2-3 mins timeout. May be the problem with the particular video.


zen-downloader$ node downloader.mjs https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 brak.mp4
url is https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019
Loading html document...
Searching mpd...
Coudn't find mpd url

zen-downloader$ node downloader.mjs https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 brak.mp4
url is https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019
Loading html document...
Searching mpd...
Coudn't find mpd url

zen-downloader$ node downloader.mjs https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 brak.mp4
url is https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019
Loading html document...
Searching mpd...
Coudn't find mpd url

zen-downloader$ node downloader.mjs https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 brak.mp4
url is https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019
Loading html document...
Searching mpd...
Coudn't find mpd url

zen-downloader$ node downloader.mjs https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 brak.mp4
url is https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019
Loading html document...
(node:120540) UnhandledPromiseRejectionWarning: FetchError: request to https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 failed, reason: connect ETIMEDOUT 62.217.160.2:443
    at ClientRequest.<anonymous> (file:///media/disk/code/javascript/zen-downloader/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:469:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:120540) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:120540) [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.

zen-downloader$ node --trace-warnings downloader.mjs https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 brak.mp4
url is https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019
Loading html document...
(node:125221) UnhandledPromiseRejectionWarning: FetchError: request to https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 failed, reason: connect ETIMEDOUT 62.217.160.2:443
    at ClientRequest.<anonymous> (file:///media/disk/code/javascript/zen-downloader/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:469:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
    at emitUnhandledRejectionWarning (internal/process/promises.js:168:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:94:32)
(node:125221) FetchError: request to https://dzen.ru/video/watch/62c1d0a81c9f152fcd038019 failed, reason: connect ETIMEDOUT 62.217.160.2:443
    at ClientRequest.<anonymous> (file:///media/disk/code/javascript/zen-downloader/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:469:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:125221) [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.
    at emitDeprecationWarning (internal/process/promises.js:180:11)
    at processPromiseRejections (internal/process/promises.js:249:13)
    at processTicksAndRejections (internal/process/task_queues.js:94:32)

zen-downloader$ ping 62.217.160.2
PING 62.217.160.2 (62.217.160.2) 56(84) bytes of data.
64 bytes from 62.217.160.2: icmp_seq=1 ttl=53 time=58.3 ms
64 bytes from 62.217.160.2: icmp_seq=2 ttl=53 time=55.2 ms
64 bytes from 62.217.160.2: icmp_seq=3 ttl=53 time=55.2 ms
64 bytes from 62.217.160.2: icmp_seq=4 ttl=53 time=80.1 ms
^C
--- 62.217.160.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 55.193/62.186/80.079/10.405 ms

Environment:

node --version
v14.16.0

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

uname -a
Linux comp 5.15.0-130-generic #140~20.04.1-Ubuntu SMP Wed Dec 18 21:35:34 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

@AntonSamokat
Copy link
Author

As work around Video DownloadHelper Firefox add-on in conjunction with CoApp is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant