IljaN / narr

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

Audio download is broken #4

Closed Flameborn closed 1 month ago

Flameborn commented 5 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 5 months ago

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

Flameborn commented 5 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 4 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 4 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 4 months ago

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

Hygros commented 3 months 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

IljaN commented 2 months ago

@Flameborn @Hygros Sorry for the delay, please try the latest release. Downloads on macOS should work now. Probing also got more stable, but might require some retry logic in case the token expires.

Please let me know. Thank you very much, and thanks again for your patience.

IljaN commented 2 months ago

@jiayugz Opened a separate issue here #7

Flameborn commented 1 month ago

Huge thanks @IljaN, it works beautifully here (Intel MacOS 12.7.6).

I have not experienced the mentioned issues so far.