A straightforward and simple Python script to clone a Reddit account.
This script fetches a list of subreddits and saved items from an old account, and by making use of the PRAW library, adds that list to a new account.
Refer this link to Authenciate via OAuth : https://praw.readthedocs.io/en/latest/getting_started/authentication.html#password-flow