0 of 0

File information

Last updated

Original upload

Created by

Kojillama

Uploaded by

Kojillama

Virus scan

Safe to use

227 comments

  1. Xteroblade2117
    Xteroblade2117
    • member
    • 0 kudos
    Can this work with fallout 4?
  2. Tomzo711
    Tomzo711
    • premium
    • 14 kudos
    For anyone confused by lishmael's post below here's a simplified explanation.

    Open with Notepad++ and go to line 70 and change it from:
    request = urllib.request.Request("https://next.nexusmods.com/api/graphql", data=json_data, headers=headers)

    to:

     request = urllib.request.Request("https://api.nexusmods.com/v2/graphql", data=json_data, headers=headers)

    Then go to line 224 and change it from:

    pattern = r"next\.nexusmods\.com\/(.*?)\/collections\/(.*?)(?:\?.*)?$"

    to:

    pattern = r"nexusmods\.com\/games\/(.*?)\/collections\/(.*?)(?:\?.*)?$"

    and save.
    1. CTDenthusiast
      CTDenthusiast
      • supporter
      • 0 kudos
      this helped me. thanks!
    2. Tomzo711
      Tomzo711
      • premium
      • 14 kudos
      Glad I could help! 
    3. Arpadian
      Arpadian
      • supporter
      • 5 kudos
      hello, i have error in MO2 when trying to download a mod collection


      followd your instruction on changing those line of code
    4. Tomzo711
      Tomzo711
      • premium
      • 14 kudos
      I think I also got that same error until I realized I had to copy the address of the collection page, go to tools in MO2, select the Download Collection tool (iirc) and paste the address in the window that pops up. Did you do that? 
    5. Arpadian
      Arpadian
      • supporter
      • 5 kudos
      did that and got that error
    6. Tomzo711
      Tomzo711
      • premium
      • 14 kudos
      That's a bit beyond me then. I dont write code or scripts, I was just able to make since of what was posted before and make it work for me. Sorry I cant be of much more help. The only thing I can suggest is just look over everything and make sure you did it correctly.
    7. Dalekcyber
      Dalekcyber
      • supporter
      • 0 kudos
      Followed this worked up to the 'download' dialogue box. Any ideas?

      Thanks!
  3. ToxicQuinnCT
    ToxicQuinnCT
    • supporter
    • 0 kudos
    I have copied and pasted the collection directly from the collection page several times, but it still has not downloaded it. Help plz. Thank you in advance!! 
    EDIT: Now I have enabled where I can progress past the initial screen, however when I am asked to choose the revision I have no option, and these error codes pop up "[2025-03-19 20:16:34.149 E]   File "D:/Mods/Mod Organizer/plugins/NexusCollections.py", line 189, in next" "[2025-03-19 20:16:34.149 E]     self.collectionRevision = int(self.revisionList.currentText().replace('Revision ', '').split(' (')[0])" "[2025-03-19 20:16:34.149 E] ValueError: invalid literal for int() with base 10: ''" "[2025-03-19 20:21:09.650 W] {'errors': [{'message': 'Game not found', 'locations': [{'line': 1, 'column': 67}], 'path': ['collection'], 'extensions': {'code': 'NOT_FOUND', 'detail': 'Game not found'}}], 'data': None}"
    1. ForgeEEE
      ForgeEEE
      • premium
      • 0 kudos
      how did you get past the link problem at the very begining wear you copy and paste the link but it does not download 
  4. strikerrrr
    strikerrrr
    • supporter
    • 0 kudos
    I'm having an issue with the  plugin. When I try to download a collection, I paste the correct link into the plugin, but after clicking "Next," nothing happens. The window stays open, and the "Next" button remains clickable, but there’s no progress. I have premium, windows 11, and mo2.5.2. Thanks in advance EDIT: Not the correct link afterall, im stupid
    1. aikomiko
      aikomiko
      • supporter
      • 1 kudos
      Seems that Nexus has recently changed the URLs for Collections:
      https://www.nexusmods.com/games/{GAME_NAME}/collections/{COLLECTION_ID}

      and the API:
      https://www.nexusmods.com/games/api/graphql
    2. ForgeEEE
      ForgeEEE
      • premium
      • 0 kudos
      what is the correct link theres only one link im so confussed 
  5. sacredwitness
    sacredwitness
    • premium
    • 3 kudos
    My only complaint is this destroys my API usage before I get throttled. 🙃

    Thank you for making this!
  6. leigngod
    leigngod
    • premium
    • 0 kudos
    It says to select a revision but it wont let me use the drop down menu nor type it in.
    1. RocciaMalleabile
      RocciaMalleabile
      • premium
      • 1 kudos
      Some issues with nexus api or nexusmods.com probabily, idk, but now it works.
      I used it yesterday and i remember that The mo2 log was something like:   Line 189: invalid literal for int() with base 10
      . Some data about the collection weren't found, then "None" was returned, so there was no revision number to select, therefore an empty string  could not be parsed as an integer. The script is ok.
    2. daisydlee
      daisydlee
      • supporter
      • 2 kudos
      make sure you're on the "about" tab in the collection page, that worked for me!
    3. Evrythng0riginal
      Evrythng0riginal
      • premium
      • 0 kudos
      You are a life saver!
  7. JJEBHR
    JJEBHR
    • premium
    • 0 kudos
    Made all the .py changes but when I get to where the download starts, I get "Failed to request file info from nexus; host requires
    authentication"

    I'm using the Anvil modlist and running everything inside the virtual MO2 setup. Everything seems to work
    exactly like a normal installtion, file structure is same, .exe is set
    to handle nexus links, and using a premium account.

    Edit, double check that you have authorized your MO2 installation on Nexus...
  8. Morcalvin
    Morcalvin
    • premium
    • 1 kudos
    When it asks for me to select a collection revision it doesn't show any, doesn't let me open the drop down menu box and won't let me press next?
  9. Supertron
    Supertron
    • premium
    • 79 kudos
    Came up with a workaround using Vortex and MO2.

    IMPORTANT: Use Game Folder Cleaner to make a clean Vanilla files list (you'll see what I mean when you use it), and use the software to remove ALL the non-vanilla files installed by Vortex prior to installing mods with MO2.


    •  Install both Vortex and MO2, let Vortex handle downloads.
    •  Set a custom path and folder to store Vortex downloads. Settings -> Downloads -> Downloads Folder.
    •  Set the MO2 downloads folder to the folder you set for Vortex, so they share the same downloads folder.
    • Tools -> Settings -> Paths -> Downloads
    •  In the MO2 downloads tab where you click to install, click Query Metadata after downloading the mods you want.
    •  Install the mods with MO2 as normal. 
  10. Supertron
    Supertron
    • premium
    • 79 kudos
    Can someone pastebin the full code with a working fix? I can't get the part where you choose the revision to work :/