Giter Site home page Giter Site logo

Comments (2)

Kazaflow avatar Kazaflow commented on May 25, 2024

I don't know how you would like to use a different exe for downloading as RMD is either just one standalone exe file, or the whole repo with all the python scripts.
Anyway, I have a workaround for downloading from redgifs, I'm not sure if every step is necessary but I did it like this:

  • First download the repo, as you can't change anything in the exe version.
  • run 'pip uninstall youtube_dl' and then install the same way 'yt-dlp' (not sure if necessary)
  • Now go inside your RMD folder, there in 'redditdownloader/processing/handlers' you open 'ytdl.py' in a text editor
  • in the first line where it says 'import youtube_dl' you change it to 'import yt_dlp as youtube_dl' (not sure if necessary)
  • then in line 48 you find ydl_opts which has that structure with 'something' : 'some value'
  • within the ydl_opts you add "cookies" : "some path to a cookie file" with a comma at the end
  • now you will actually need a cookie file from redgifs, there is a addon for that (on firefox theres "cookie.txt") which allows you to get the cookie as a txt which you can use for the ydl-opts cookie argument from before

Now again I don't know if I did a good job describing this "fix" or if it makes sense, but in my case it allowed me to download from redgifs with no issue.

from redditdownloader.

Knownish avatar Knownish commented on May 25, 2024

That seems to have worked, thanks!!!

from redditdownloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.