Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Jav-It

The most comprehensive JAV video cataloging tool. · By jav-it

[ANSWERED] try to download but get Page.addScriptToEvaluateOnNewDocument error

A topic by other.pen9979 created Oct 07, 2022 Views: 176 Replies: 3
Viewing posts 1 to 4
(1 edit)

Hi There,

I was trying to download the content by this commandon Ubuntu/Windows:

./jav-it download -c cookies.txt -i mide0067 -o ./videos/

but always gets the error message:

Could not start refresh of cookie information: could not send message: could not send message to server: Protocol error (Page.addScriptToEvaluateOnNewDocument): Target closed.undefined

not sure I misunderstood how to use the command line or something wrong :-/

Developer

Hrm... Not sure about this one. Perhaps you can try the solution here and see if that helps (https://itch.io/t/2398882/solved-could-not-send-message-to-server-protocol-error..)?

it is not the same case, but I realized I can use the browser extension "video download helper" to download the content which is similar to your approach :D

I still feel $5 is worth it since that is how I found you actually not decrypt the DRM, just download the streaming via selenium, that is way easier, thank you!

Developer (1 edit)

Yep, that totally works! It just requires a little more effort and isn't as easy to automate an entire collection. The encryption scheme for HLS transport isn't really a secret or anything, so most of the heavy lifting comes from interfacing with private APIs of R18/DMM, etc.