Code Monkey home page Code Monkey logo

nexus-autodl's Introduction

Nexus AutoDL

Nexus AutoDL

When downloading mods from Nexus Mods, you have to manually click on a download button every time a new mod is added to the queue. Since modlists supported by tools like Wabbajack and Portmod often have tens or hundreds of mods, this can be very time consuming. Nexus AutoDL is an autoclicker (a.k.a., autodownloader, bot) that helps automate this process for you. Specifically, while Nexus AutoDL is running, any time a mod or collection download page is visible on your screen, Nexus AutoDL will attempt to click the download button.

If you like Nexus AutoDL, please leave a star on GitHub to help others find it.

Download

A Windows binary is available on the releases page. Download it and double-click on it to start Nexus AutoDL. Take a screenshot and crop (WIN+S on Windows) the item on the screen you want to click on, placing the result in a directory of your choice. Point Nexus AutoDL to this directory and press the Start button. This spawns a terminal window which you can close when you are done downloading mods. You can include multiple images in this directory.

Users on other platforms can download the source code on GitHub.

Caution

Using a bot to download from Nexus is in direct violation of their TOS:

Attempting to download files or otherwise record data offered through our services (including but not limited to the Nexus Mods website and the Nexus Mods API) in a fashion that drastically exceeds the expected average, through the use of software automation or otherwise, is prohibited without expressed permission. Users found in violation of this policy will have their account suspended.

Use this at your own risk.

nexus-autodl's People

Contributors

curtiss02 avatar parsiad avatar vdave007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nexus-autodl's Issues

Can someone just fix the download button?

the script doesn't hit the download button. that's a problem. needs fixing. there is no clear explanation for people that know nothing about coding on how to fix it.

click_here loop

Hi your program work great but its often capture the "click here" button and will stuck in a loop.
lw_f54Z9ddpK4

As long as the "click here" is not captured, the program wouldn't stuck in a loop.
lw_KXozP3VYqB

Maybe "click here" keep looping because it fail to click "click here"(since it usually only appear like 0.5s-1s for me) and the program won't capture the new "slow download" image.

Doesn't work on second monitor

Ideally i would be doing stuff on my primary monitor and leave the download stuff open on my second monitor but it only autoclicks when the button is visible in my primary.

Needs auto scrolling.

Wabajak sometimes doesn't auto scroll to the download button so you have to manualy scroll down and click the button on the window it opens up. If you could somehow implement an autoscroll after a certain amount of time it hasnt detected the button thatd prob fix this. Thanks in advance!

Clicks at wrong location sometimes

Not a huge issue but I've noticed that it clicks on the mod images sometimes thinking it's the download button in vortex. It also clicks on the premium button too but that's a even smaller issue.

I just thought you guys should know if you haven't already noticed it.

Just started using this, I only have 1 issue with it so far

Hi! I just started using this and it's been very helpful but it has at least one issue. I only have a template for it to click slow download, but for some reason if a donation page shows up, it also clicks on donate. Because of this, it's gotten stuck quite a few times and I've had to close pages upon pages of PayPal pages it's opened. I don't know why it does this but would it be possible to fix that?

Edit: it now keeps clicking go premium and won't stop

Minimized window

Nolvus makes the download windows start minimized so it doesnt detect it till I manually maximize the window.

file upload is broken and the website is unusable

the website where the file is uploaded requires premium and if you do not have it and if it's bugged for a second, then it'll ask you to wait for 1 hour then 2 hours after that for no reason, and then a full day and the cycle repeats, there are sooo many normal, non-premium, or just not-so-broken uploading platforms, for god's sake, please upload it somewhere else.

Release on Github?

Hi! Thanks a lot for this tool! I'm currently helping my little brother to download automaticly his mod list with wabbajack BUT the website where we should have downloaded failed its attempt and now we have to wait for an hour before another try...

I've found how to solve this issue but I wanted to know why wont you release a version of your project here on your github repository?

only wants to click one download button

Im attempting to download a mod collection through vortex mod manager. On vortex I need to click "download" every time I want to download another mod in the collection. The n the mod manager takes me to the nexus mod page where I need to click "slow download". No where to problem comes in is the bot wants to click the vortex download button even when the nexus slow download button is up. Thus, the bot opens up several tabs for the same mod without actually installing it. is their any way to fix this perhaps a delay or a way to tell it and order to click in?

Running application

Hi.
Having some trouble getting this to run.

Downloaded the nexus-autodl-0.2.1 folder and placed the Nexus auto DL inside and created a templates folder.
Ran the application.

Then placed the templates from assets inside. Re-ran the application

Nothing is happening.

Can someone confirm what I am doing wrong ?

Thanks for creating this tool. Very helpful and hopefully can get it working !

Does not click the download button on Vortex Collections

im a whole scrub to the fallout 4 modding scene but im trying to download the A storywealth mod collection via vortex but nexus autodl is not working it only works when i click the download popup and then it switches to the download page in the browser
Capture
anyway where i can fix this so i dont have to sit on my ass every 5 minutes just to click a singular mod download

[Suggestion] Fix for click_here loop

Hi,

Thanks for making this! I was having some problems with the script getting stuck due to mis-identifying mod names as "click here", and I was able to solve them with two small changes:

  1. Match screenshot with slow_download before click_here
  2. Change match criteria from m.distance < 0.5 * n.distance to m.distance < threshold, where threshold is a value which i manually set to 150 for slow_download and 80 for click_here

I have no familiarity with opencv or image recognition in general, these were just values i observed. Some incorrect matches for click_here had a smaller m.distance and n.distance than correct matches for slow_download, hence the difference.

So far this is working without error, point 2 is a bit dodgy but evaluating slow_download before click_here should be a solid fix with no downside if you feel like working on this project still :)
Thanks again!

How do i make this work?

I just downloaded the 0.2.1 version and double-clicked on the download file "nexus_autodl.exe" a CMD page opened after 2-3 seconds it closed and nothing happened after that.
Screenshot 2024-06-12 121815

I've tried:
running it as an administrator
moving the .exe file to the same location as the Wabbajack.exe
redownloading nexus_autodl
downloading and running nexus_autodl 0.2.0
downloading all of the assets and moving the nexus_autodl.exe to its extracted location

Found a faster way to download mods from wabbajack

Hello Im not good in english nor do i have a good knowledge in coding so sorry if my explanation/request is hard to understand but I'll try my best.
The software has wabbajack files for each modlist. There is 'modlist' file inside this wabbajack file that can be extracted using zip extractor like 7z. img:imageypMQWrJ
This file contains thousands of lines of texts containing every mod with its details, modID and fileID. I was thinking of a code that could extract each modID and fileID found in the 'modlist' file with some kind of wildcard pattern and turn it into download link and remove all other unnecessary string/characters so it would be only: https ://www.nexusmods.com/skyrimspecialedition/mods/[modID]?tab=files&file_id=[fileID] .
So for wildlander modlist, some of the lines in the modlist file like below

imagehttpsibb-cosqp-Cv-JJ

can be turned to

Spoiler https://www.nexusmods.com/skyrimspecialedition/mods/17925?tab=files&file_id=177264 https://www.nexusmods.com/skyrimspecialedition/mods/43097?tab=files&file_id=204112 https://www.nexusmods.com/skyrimspecialedition/mods/13366?tab=files&file_id=114102

that means if the modlist has 500 mods, the extracted data should be 500 of the download links in the format above. Now I'm requesting for a code if its possible that would just to automatically open up all these links in a browser. The reason is Wabbajack cannot have extension installed in their built in browser(edge webview2) and I could lets say download half of the links with my static internet IP address on 1st instance of chrome and use an vpn extension like urbanvpn on 2nd instance of chrome to download other half download links bypassing nexusmods download limit all without the 5 second wait thanks to this userscript: https://greasyfork.org/en/scripts/394039-nexus-no-wait.
After downloading all the mods, opening wabbajack would be just to verify and finish installation without much hassle :D
really love ur autoDL but with these methods, downloading would be several times faster!

edit: or you could just implement a code in the current autoDL that injects the 5 seconds skip userscript into WJ if its possible

Mouse position issue

OS: Windows 10
Display resolution: 1920 x 1080
Refresh rate: 60
Monitors: 3 (All 1920 x 1080)

I'm having an issue where sometimes the program will get stuck on trying to click on "Choose download type" in the download page Instead of clicking slow download or click here and will seemingly hang forever until I restart the program, this seems to happen randomly.

I was able to "Fix" the issue by placing the wabbajack program GUI half way between my monitors so that the "Choose download type" text was not visible on my primary monitor, Since it only seems to be able to view my primary monitor and not my side monitors.

Stuck on 'click here'

OS: Windows 10
Display resolution: 1920 x 1080
Refresh rate: 144 mon1 60 mon2
Monitors: 2 (All 1920 x 1080)
Wabbajack v2.5.3.24

The program is getting stuck at the Click_here routine. I believe the sleep timing is the issue, where the program is scraping the screen during the ~250 ms when the "click here to continue" page is being shown. However, that page quickly disappears but the autodl keeps trying to click it and gets stuck. This occurs randomly, but on average every 10-20 downloads.

A solution would be to attempt to run the click_here routine once, then scrape to see if it's still present.

07/02/2022 08:57:38 PM [INFO] Clicking on slow_download at coordinates x=1074.330566 y=676.271545
07/02/2022 08:57:38 PM [INFO] No matches found
07/02/2022 08:57:38 PM [INFO] Sleeping for 2.708454 seconds
07/02/2022 08:57:41 PM [INFO] No matches found
07/02/2022 08:57:41 PM [INFO] Sleeping for 2.477630 seconds
07/02/2022 08:57:44 PM [INFO] No matches found
07/02/2022 08:57:44 PM [INFO] Sleeping for 4.000639 seconds
07/02/2022 08:57:49 PM [INFO] Clicking on slow_download at coordinates x=1074.330566 y=676.271545
07/02/2022 08:57:49 PM [INFO] No matches found
07/02/2022 08:57:49 PM [INFO] Sleeping for 3.227662 seconds
07/02/2022 08:57:53 PM [INFO] No matches found
07/02/2022 08:57:53 PM [INFO] Sleeping for 0.111719 seconds
07/02/2022 08:57:54 PM [INFO] No matches found
07/02/2022 08:57:54 PM [INFO] Sleeping for 4.565793 seconds
07/02/2022 08:57:59 PM [INFO] No matches found
07/02/2022 08:57:59 PM [INFO] Sleeping for 3.807614 seconds
07/02/2022 08:58:04 PM [INFO] Clicking on click_here at coordinates x=532.894836 y=425.698151
07/02/2022 08:58:04 PM [INFO] No matches found
07/02/2022 08:58:04 PM [INFO] Sleeping for 1.366361 seconds
07/02/2022 08:58:06 PM [INFO] Clicking on click_here at coordinates x=532.894836 y=425.698151
07/02/2022 08:58:06 PM [INFO] No matches found
07/02/2022 08:58:06 PM [INFO] Sleeping for 3.735259 seconds

How to remove a template?

The program likes to click the "click here" which causes duplicated downloads in wabbajack, how do i remove that template?

Rapidgator? Seriously?

Tons of sites out there you could've uploaded this,and you HAD to choose that piece of garbage. Fuck's sake.

Download buttom clicking on previus buttom

After i execute the program, the download page works fine, but after his click on slow download the program click on previus download buttom. the program click on download after the vortex refresh the download buttom causin the erro messenge of download again the previus mod

getting an error trying out new build

trying to open the built exe from releases gives me this error

File "\\WBoxSvr\shared\nexus-autodl\nexus_autodl.py", line 90, in <module>
File "click\core py", line 1157, in _call_
File "click\core.py", line 1078, in main
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "\\VBoxSvr\shared\nexus-autodl\nexus_autodl.py", line 45, in main
File "\\VBoxSvr\shared\nexus-autodl\nexus_autodl.py", line 27, in human_sorted
File "pathlib.py", line 1056, in iterdir
FileNotFoundError: [WinError 3] The system cannot find the path specified: "D:\\Common_Folders\\Downloads\\\Programs\\tem
plates'
[12620] Failed to execute script 'nexus_autodl' due to unhandled exception!```

more or less flashes for a moment and then closes

Close tab after install

Is there any way to close the chrome tab after a mod is installed? When downloading a collection through vortex, the tab is opened on chrome instead of a separate one that auto closes like in Wabbajack, so I need to manually close it after every mod so my PC won't blow up.

Unhelpful/Broken

I really don't get it, and I'm at my wit's end. This thing is supposed to give instructions, but it skips the instructions entirely!

I downloaded the binary, and when I double click on it, I get a warning from my computer. I ignore the warning, and it immediately skips the instructions and opens the terminal. What am I doing wrong???

it close after few sec

idk why it close after few seconde it have an error

Desktop.2024.06.26.-.02.06.01.02.DVR.mp4

Prompt just disappear without doing nothing

I've tried everything, run as admin, create a "template" folder, putting it in every drive I have, even in Vortex folder, running as admin... It just closes so fast I can't even read whats written in the prompt window.

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.