Update dataUpdate.py

This commit is contained in:
edimusxero 2019-12-17 22:17:47 -05:00 committed by GitHub
parent a32589da78
commit da49ae76de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# @Chr1st-oo
import json
import cfscrape
import cloudscraper
import requests
import sys
import re
@ -17,7 +17,7 @@ class RCOUpdater():
self.link = self.BASE + self.nameLink(str(name).strip())
self.session = requests.session()
self.scraper = cfscrape.create_scraper(sess=self.session)
self.scraper = cloudscraper.create_scraper(sess=self.session)
self.data = ""
try:
@ -178,4 +178,4 @@ class RCOUpdater():
try:
return len(el)
except:
return "N/A"
return "N/A"