gettit icon indicating copy to clipboard operation
gettit copied to clipboard

not working

Open kiteloopdesign opened this issue 3 years ago • 1 comments

"installed" via tarball, on fedora 36, getting the following:

./gettit -u 'https://www.reddit.com/r/dataisbeautiful/comments/x0fg48/ocheat_wave_the_heartbeat_and_breath_of_the_earth/' -o earth.mp4

[+] Initializing...

[+] Fetching url of the source video file...

[+] Downloading source video file... 2022/08/29 20:11:32 Head "": unsupported protocol scheme ""

kiteloopdesign avatar Aug 29 '22 18:08 kiteloopdesign

Same here, but built from source.

VakeDomen avatar Oct 31 '22 08:10 VakeDomen

I didnt expect people to still be using this haha! I'll try to reproduce the bug and fix it. Sorry for being VERY late i didn't pay much attention to this project

Solirs avatar Dec 04 '22 12:12 Solirs

Fixed! It turns out the requests were getting blocked by reddit. Not a problem with user agents or headers or anything, this behavior is only found for the net/http golang client (i tested with curl, python requests, and reqbin). I ended up applying a workaround i found at https://www.reddit.com/r/redditdev/comments/uncu00/go_golang_clients_getting_403_blocked_responses/ and it now works! I will pay more attention to that project from now on.

Solirs avatar Dec 04 '22 15:12 Solirs

P.S since the fix is for a very major bug i applied it to the latest release.

Solirs avatar Dec 04 '22 15:12 Solirs