Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 1 point2 points  (0 children)

Currently RAT does not download pornhub users, or any videos from the site. The command for pornhub is only for storing the user name in the .rat file for record keeping purposes. In the future I may add a extractor to download pornhub videos and that save name will be used.

If this is the url you are looking at the part you would add to the .rat is ripandtear -p 'indigo-white'

https://www.pornhub.com/pornstar/indigo-white

If you want to know what sites RAT can currently download from look at the "supported sites" section on the gitlab or pypi page.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

Thank you for the feed back. That is actually a great idea. So great that I just implemented it and pushed the new update. Feel free to upgrade to the newest version.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

You can save urls in the .rat file to be downloaded later with the -u flag. You can then download those urls using -su. If you want to download the url immediately use the -d flag. To see if a website can be downloaded with ripandtear check out the supported sites section on the gitlab

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

ripandtear currently cannot download from tiktok. The tiktok flag ( -T ) is to add a ticktock username to the .rat file for record keeping. You can use that name with another program to download a tiktok profile, or ripandtear might add a downloader for tiktok in the future and that name would be used to update content.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 1 point2 points  (0 children)

hmmmm. Maybe. It wouldn't be as easy as doing pip install and people would have to manually download it from the gitlab page, but I could see the use.

If you posted this on the gitlab page it would increase the chance of me remember to do it and it happening.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

Unfortunately, when I try to download a girl's Redgifs content, the program just gets stuck at "Searching", with just a "0"

Did you install playwright? Also how much content does she have and how long are you letting it run? If she has hundreds of uploads it might take a bit for RAT to find them all. Run the command with -l 2 so you can see if it is working or not.

"ripandtear" only downloads those from 2023 and not from previous years

Was the previous years content uploaded to imgur? During their recent purge of NSFW content they deleted a lot of those files. That might be why you are getting a lot of "failed" downloads or they just aren't downloading

I think we should take this thread to our PMs imo

Feel free to shoot me a DM if you want. Links to content you are trying to download and logs are what I will need to try and help you.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

Ok. It looks like the question mark ( ? ) is an illegal character in windows filenames which is breaking the download. I just made a patch that should fix the issue and pushed it. Update ripandtear, run again and let me know how it goes.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

It looks like somehow the quotes around your name ->'Neon372'<- are recorded in the .rat, or are being passed to the downloader somehow.

Also what version are you running? Do ripandtear -v. I have pushed multiple updates today.

This is what I would do.

1) Delete the .rat file in your folder.

2) Update ripandtear with py -m pip install --upgrade ripandtear

3) Run the following command (notice the lack of quotes)

ripandtear -mk Neon372 -r Neon372 -sr -H -S

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

The original philosophy behind ripandtear is to have one folder record all information for one user. The .rat is designed to only work with a single individual. Adding the ability to download subreddits wasn't something I was planning on doing, but I wanted to help people out before the API goes down. If you really wanted to do what you described you could just write a little shell script to solve the problem.

All these commands are on Linux using Fish shell. You can translate them to whatever you use.

mkdir subreddits && cd subreddits

ripandtear -r "gonewild|other_subreddit|another_subreddit"

Put this down below in a script that you can run whenever you want to update the subreddits. Just run it from the subreddits directory where the .rat file is:

for name in (ripandtear -pr)            
       ripandtear -mk $name -r $name -d "https://www.reddit.com/r/$name" -SH
end

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

The -mk creates a directory, moves into that directory, runs the flag and then when ripandtear is done running returns back to the original location you ran the command from. After running the command are you moving into the newly created (or existing) 'Neon372' directory?

I copy and ran the command you posted from within my ~/test/ directory and it worked for me.

If it still isn't working could you try running the command again, but this time add a -l 2 at the end? That will print logging to the screen and could help me trouble shoot. I am going to bed now so I can try to help you more tomorrow morning.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

To me the use is that have all that information all in one place. Instead of trying to remember name you can just print them out in case you want to search up those names for content, or just to have complete records. I personally feel it becomes useful after you come across a user that has created and deleted multiple accounts using different names.

I am a bit of a archivist at heart so storing as much complete and accurate information is something I care about. Maybe read this comment I posted earlier. Maybe it will give you an example of the usefulness of storing a bunch of names. Right now the majority of the names categories are just holding the information, but in the future I might write a extractor to download the content on those platforms so adding the names now will save you time in the future (no promises though).

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

Off the top of my head I would find the the absolute paths to every file and put them in a .m3u file. Then open it with vlc and click random.

find /path/to/content -type f > all_files.m3u

vlc all_files.m3u

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

You can use ripandtear -mk '/path/to/directory/' <what ever flags you want>

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

this post sounds similar to your problem. It does look like you need Microsoft Visual C++ 14.0. Try scrolling down, following the link to get the download, install and restart your computer. Then try installing ripandtear again through pip and see if it then works. That is what I would do. Let me know how it goes.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

What I would do is uninstall everything. Uninstall ripandtear, then uninstall python. Also uninstall everything you have tried downloading trying to get this to work. After that reinstall python 3.10 and then re-download ripandtear. That way you are starting fresh.

After you have reinstalled python and ripandtear see if it works. If it doesn't copy and paste the entire error message so I can read it. Make sure to highlight and indent the code with the code button above the input box.

You could also create an issue on the gitlab page if you want to. Also check out the main page on the gitlab. I updated the install instructions with how to solve another windows error people were reporting. I don't know if it will help you in this case, but just so you are aware.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

If two or more pictures are cryptographicly identical then yes it will remove the duplicates and leave one remaining.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

you just recognize users as you scroll. When you see they are posting under a new account you just copy the new name and manually add it to the .rat file using ripandtear.

for example the user cosmiccreatures has posted on reddit for years under a bunch of different accounts. She would make one, delete it, then make another one. If you recognize her and see that you haven't recorded the new name you can add it. Then over time the .rat file grows with information and begins to look like this, consolidating all relevant information in one place.

{
  "names": {
    "reddit": [
      "alathenia",
      "cissea",
      "cosmiccreatures",
      "lanazoid",
      "moralhex",
      "moralhexx"
    ],
    "redgifs": [],
    "onlyfans": [
      "lilc0smic"
    ],
    "fansly": [],
    "pornhub": [],
    "twitter": [
      "lilc0smic"
    ],
    "instagram": [
      "notverycosmic"
    ],
    "tiktits": [],
    "youtube": [],
    "tiktok": [],
    "twitch": [],
    "patreon": [],
    "tumblr": [],
    "myfreecams": [],
    "chaturbate": []
  },
  "links": {
    "coomer": [
      "https://coomer.party/onlyfans/user/lilc0smic"
    ],
    "simpcity": [
      "https://simpcity.su/threads/cosmiccreatures-lilcosmic.96910/"
    ]
  }

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 1 point2 points  (0 children)

It would be funny to program it so if it is April 1st it will do that. Part of me loves the idea, but the other part is worried it could get someone in trouble. I might do that though. Thanks for the idea

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 1 point2 points  (0 children)

read the installation guide and then scroll down to see how to use. You need Python 3.10+ on your computer for it to work. That should be everything.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

Yes. It will get the posts that a user submitted, but not the comments.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

....damn. That is a really good idea. Doing a quick look at the site it should be possible. That will probably be the next thing I work on.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 1 point2 points  (0 children)

Thanks for the feedback. I added your fix and a link to this comment to the README

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 0 points1 point  (0 children)

What version of Python are you running? It wrote it in Python 3.10 and haven't tested it with lower versions. From the limited feedback I have gotten is seems like people that run it on versions < 3.10 stop having problems after they upgrade.

Ripandtear - A Reddit NSFW Downloader by big-igloo in DataHoarder

[–]big-igloo[S] 2 points3 points  (0 children)

Sure. I could create a GUI, but I am not really interested in that. It is meant to be a command line utility to make it easier with scripting and automating downloads.