plugin.video.netflix icon indicating copy to clipboard operation
plugin.video.netflix copied to clipboard

deprecation warnings when running NFAuthentication.py script

Open ggieling opened this issue 8 months ago • 0 comments

Script version: 1.1.8

Running the script with python in verbose mode produces the below warnings:

Verification of data in progress... please wait .../NFAuthenticationKey.py:274: DeprecationWarning: invalid escape sequence '/' json_str_replace = json_str_replace.encode().decode('unicode_escape') # Decode the string as unicode File creation in progress... please wait .../NFAuthenticationKey.py:127: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 'timestamp': int(((datetime.utcnow() + timedelta(days=5)) - datetime(year=1970, month=1, day=1)).total_seconds()),

You may wish to adjust this before python changes to a version where the deprecation becomes an error.

ggieling avatar Jun 14 '25 15:06 ggieling