Skip to content

TobiasPankner/PSN-Unfriender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSN Unfriender

GitHub stars Donate

Python script to mass delete PSN friends.

ezgif com-crop

Short video tutorial on how to set this up: https://www.youtube.com/watch?v=CfxuU57w3Tk

Prerequisites

Run the script

⚠️ Treat the npsso token like your password!

  1. Rename the configuration.example.json file to configuration.json
  2. Log into the Playstation website
  3. Visit this page: https://ca.account.sony.com/api/v1/ssocookie
  4. Copy the npsso token and paste it in the configuration.json file
  5. Install dependencies: pip install -r requirements.txt
  6. Run the script python unfriender.py

Configuration options

The only thing to configure is the friends you want to keep.
To do this, a list of patterns can be specified in the configuration.json file.

Example:
If you want to keep all friends that have the word "Warrior" or "Wicked" somewhere in their name.
This is case-sensitive!

{
  "npsso_token": "YOUR TOKEN",
  "nameWhitelistPatterns": [
    ".*Warrior.*",
    ".*Wicked.*"
  ]
}

The output of the program then might look like this:

Found 12 friends

Friends to remove (9): 
FierceChampion42
MightyDragon99
RadiantPhoenix48
DaringSorcerer64
DaringTitan45
MysticNinja42
VividLegend82
DaringPhoenix41
VividSamurai69

Friends to keep (3): 
WickedNinja30
WickedDragon84
FierceWarrior92

About

Quickly delete all of your PSN friends

Resources

Stars

Watchers

Forks

Languages