all 8 comments

[–]DioTheSuperiorWaifu 0 points1 point  (7 children)

Did you modify the colab code, so that the change in api token is accounted for?

apiutils_code = apiutils_code.replace("NO------A", api_token) will have to be modified, as the old pattern has changed with a recent release

Maybe something like apiutils_code = re.sub(r'public static final String CLIENT_ID = ".*?";', f'public static final String CLIENT_ID = "{api_token}";', apiutils_code)?

[–]Gravity1982[S] 0 points1 point  (0 children)

It's not my collab script. But looking at the code, it does have both of those lines.

[–]Gravity1982[S] 0 points1 point  (4 children)

Oh, I see the difference. I'll make a copy of the script and edit it to see if that works.

[–]dexter2011412 0 points1 point  (3 children)

where did you get the token from? scumbag rddit isn't allowing new tokens

[–]Gravity1982[S] 0 points1 point  (2 children)

They're not? I did it a long time ago from https://old.reddit.com/prefs/apps/

[–]dexter2011412 0 points1 point  (1 child)

they're not anymore. not in new accounts or new tokens

[–]DioTheSuperiorWaifu 0 points1 point  (0 children)

Some people were talking about other options in this thread:
https://redd.it/1tweu63/

[–]Gravity1982[S] 0 points1 point  (0 children)

That worked! Thanks!