erickutcher / httpdownloader

HTTP(S) download manager that uses input/output completion ports (IOCP).
https://erickutcher.github.io/#HTTP_Downloader
535 stars 61 forks source link

cant download from animepahe (HTTP 405) #296

Open EternalTranquility1 opened 1 month ago

EternalTranquility1 commented 1 month ago

HTTP_Downloader_KJzunJPK8P download link

Dean-Corso commented 1 month ago

For me it works... A1_2024-06-17_223136 ...using default settings and just entering the direct URL into HTTP Downloader GUI. Did you something change / add on any app parameters?

EternalTranquility1 commented 1 month ago

entering the direct URL into HTTP Downloader GUI

what about the extension method?

Dean-Corso commented 1 month ago

what about the extension method?

So the extension / AddOn seems not to grab the playlist URL and even also not the MP4 direct URL which loads after you did press the download button.

uwu.m3u8
Content-Type: application/vnd.apple.mpegurl

mon.key
Content-Type: application/octet-stream

segment-1-v1-a1.ts
Content-Type: video/MP2T

AnimePahe_Kaijuu_8-gou_-_08_1080p_SubsPlease.mp4
Content-Type: application/octet-stream

Maybe @erickutcher must re-check this and add a better URL scan to show more of them specially those media URLs. Otherwise if you mean to send the direct URL from extension window to HTTP Downloader app so this works for me too.

erickutcher commented 1 month ago

@EternalTranquility1 It's working for me when using the extension and when using a direct link. I can, however, get it to give that error if I have the "Send POST Data" field checked in the Add URL(s) window's advanced settings. Make sure it's unchecked if you try to download it again. You can also update the download in the download list by right clicking on it and selecting "Update Download...". Click on the "POST Data" tab and uncheck "Send POST Data". Finally, click the "Update" button and then resume/restart the download.

@Dean-Corso The extensions won't grab media that's streamed (m3u8, dash, etc.). The program can download those individual files, but it's not going to piece together the video/audio segments. youtube-dl or yt-dlp are required for that.

Dean-Corso commented 1 month ago

@erickutcher

So I think it would be an good idea to make the URL grabber more advanced to get more real results at the end without to grab those URLs manually via checking network tab or using other detecting extensions. Also customizing specific grabbing parameters like "Content-Types" and extensions of responses would be a good thing you know. What do you think about it? Would be nice to have more scan options for the extension / AddOn. Similar you can also find in "The Stream Detector" extension too. Also it's not needed to handle segmented media files (playlists) and stuff by your tool using another ex tern tools like ffmpeg & YT-DL or others to merge them etc. Just caring about the URLs itself users want to work with in different ways.

PS: Why did you extension did not log and display the mp4 video URL @EternalTranquility1 did post? Does your extension does not check for more URLs after the webpage was loaded?

EternalTranquility1 commented 1 month ago

if I have the "Send POST Data" field checked in the Add URL(s) window's advanced settings. Make sure it's unchecked if you try to download it again. You can also update the download in the download list by right clicking on it and selecting "Update Download...". Click on the "POST Data" tab and uncheck "Send POST Data". Finally, click the "Update" button and then resume/restart the download.

@erickutcher this worked but its too much to do it for every single video i download, is there a setting i can check to have this be permanent? ycArFmWvAS HTTP_Downloader_2XwbBTz9tx HTTP_Downloader_1w0iX7H0wD HTTP_Downloader_DudFcOnC9i HTTP_Downloader_xIg14A4Q2S HTTP_Downloader_E2mrhxFgtG HTTP_Downloader_yDeica2esN HTTP_Downloader_6cK7PsLAVh HTTP_Downloader_EDdhoS1TpH HTTP_Downloader_ZfGVQ9E8E2 HTTP_Downloader_c3nhpLImx6 HTTP_Downloader_gRrrbIqP68_ HTTP_Downloader_sgarhY8fWN_

erickutcher commented 1 month ago

@Dean-Corso I might make it more robust in the future, but the extensions are a low priority for me.

@EternalTranquility1 It's a Chrome issue. Doesn't seem to be happening in Firefox. When that download button is pressed it triggers a POST request that the extension assumes is required in order to download the file. In this case, however, the POST response redirects to a GET request with the actual URL of the file. This happens in both Chrome and Firefox, but only the Firefox extension correctly ignores the POST request and uses the URL from the GET request. I'll look into a fix.

EternalTranquility1 commented 1 month ago

@erickutcher sweet! :3

erickutcher commented 1 month ago

This version should fix the issue: HTTP_Downloader_Chrome_Extension_v1.0.2.8.zip

EternalTranquility1 commented 1 month ago

This version should fix the issue: HTTP_Downloader_Chrome_Extension_v1.0.2.8.zip

yes its fixed, thank you!