IljaN / narr

Download audio tracks from Netflix to sample your favorite shows
The Unlicense
40 stars 3 forks source link

Audio download is broken #4

Open Flameborn opened 3 months ago

Flameborn commented 3 months ago

Hello,

In case this software is still being updated, it looks like audio downloads are currently broken.

From what I can see, navigate events do not always fire, and the initial navigation to an episode/movie does not start the download.

The media URL format is still the same.

Tried via MacOS Brave 1.61 and 1.66.

IljaN commented 3 months ago

Thanks for reporting. Are you seeing any errors in the CLI output?

Flameborn commented 3 months ago

None unfortunately. For the initial URL, not even downloads starting, navigatedTo messages, etc. The last message printed is about the successful connection to the remote debugger.

If I navigate to e.g. the homepage, and if the navigate event is logged, which rarely happens, I get:

ERROR: 2024/06/03 00:39:28 logger.go:39: runtime error: error probing file format: error reading header: EOF
IljaN commented 2 months ago

I could reproduce the issue. On Mac Netflix seems to send a different mpeg4 container format than on Linux. (mp42 vs iso6). The probing process ignores the request causing the event to never fire.

ERROR: 2024/06/03 00:39:28 logger.go:39: runtime error: error probing file format: error reading header: EOF

This happens as sometimes netflix sends 403 (Fobidden) instead of the audio file. Maybe because the authentication token expires and needs a refresh.

I am working on a fix.

Flameborn commented 2 months ago

That is a very interesting find, perhaps they do this on Linux for compatibility reasons.

AT any rate, thank you so much for the update and for the fix in advance.

On 2024. Jul 1., at 13:43, Ilja Neumann @.***> wrote:

I could reproduce the issue. On Mac Netflix seems to send a different mpeg4 container format than on Linux. (mp42 vs iso6).

ERROR: 2024/06/03 00:39:28 logger.go:39: runtime error: error probing file format: error reading header: EOF

This happens as sometimes netflix sends 403 (Fobidden) instead of the audio file. Maybe because the authentication token expires and needs a refresh.

I am working on a fix.

— Reply to this email directly, view it on GitHub https://github.com/IljaN/narr/issues/4#issuecomment-2199924631, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLD4C3KEGW4DNIBTWTCWLZKE6GXAVCNFSM6AAAAABIVN5N6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHEZDINRTGE. You are receiving this because you authored the thread.

jiayugz commented 1 month ago

I ran into similar problems today. the error message is : wsarecv: An existing connection was forcibly closed by the remote host.

Hygros commented 1 month ago

Hi, I have the same error. Everything worked fine until yesterday. I run Windows Version 10.0.19045 Build 19045 Now I get this: ERROR: 2024/07/31 17:15:47 logger.go:39: runtime error: error probing file format: error reading header: EOF Any ideas? Thanks Edit: I just noticed that some audios get downloaded and others get the error message... For example Monk works but The Big Bang Theory gets an error