Nicehash URL has changed

https://github.com/YoRyan/nuxhash/issues/54

--- a/nuxhash/nicehash.py	2019-10-13 06:10:40.000000000 +0100
+++ b/nuxhash/nicehash.py	2020-05-10 02:50:26.531802156 +0100
@@ -24,7 +24,7 @@
     address = nx_settings['nicehash']['wallet']
 
     response = nh.public_api(HOST).request(
-            'GET', f'/main/api/v2/mining/external/{address}/rigs/', '', None)
+            'GET', f'/main/api/v2/mining/external/{address}/rigs2/', '', None)
     unpaid = response.get('unpaidAmount', None)
     if response.get('externalAddress', True):
         wallet = response.get('externalBalance', None)
--- a/nuxhash/nhrest/python/nicehash.py	2019-10-13 06:10:40.000000000 +0100
+++ b/nuxhash/nhrest/python/nicehash.py	2020-05-10 02:55:38.189794255 +0100
@@ -162,7 +162,7 @@
         return algo_setting
 
     def get_accounts(self):
-        return self.request('GET', '/main/api/v2/accounting/accounts/', '', None)
+        return self.request('GET', '/main/api/v2/accounting/accounts2/', '', None)
 
     def get_accounts_for_currency(self, currency):
         return self.request('GET', '/main/api/v2/accounting/account/' + currency, '', None)
