Skip to content

Commit

Permalink
FIX FAKER
Browse files Browse the repository at this point in the history
  • Loading branch information
helloharendra committed Nov 16, 2022
1 parent 81368b8 commit d372b2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion dputils/scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_webpage_data(url, headers = None, cookies = None, clean = False) -> Beau
print("Invalid url")
return None
if headers is None:
ua = UserAgent()
ua = UserAgent(verify_ssl=False)
headers = {'User-Agent' : ua.random}
if cookies is None:
cookies = {"session-id" : "", "session-id-time" : "", "session-token" : ""}
Expand Down

0 comments on commit d372b2e

Please sign in to comment.