Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Commit

Permalink
fix bug for cfscrape
Browse files Browse the repository at this point in the history
  • Loading branch information
fanza1 committed Apr 3, 2021
1 parent 1db4817 commit f24c0da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions javsdt/Functions/Requests/JavlibraryReq.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ def get_library_html(url, proxy):
scraper = cfscrape.create_scraper()
web_data = scraper.get(url).text
#print(web_data)
return web_data
continue
if re.search(r'JAVLibrary', web_data):
return web_data
else:
continue
print('>>请检查你的网络环境是否可以打开:', url)
os.system('pause')

0 comments on commit f24c0da

Please sign in to comment.