Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandhunt committed Feb 3, 2020
1 parent 45c8b48 commit 283f740
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ def reltoabs(relurl, baseurl):
# >>> VISIT THE PAGE THROUGH BROWSER <<< #
try:
browser.visit(product['url'])
#time.sleep(2)
time.sleep(2)
browser.driver.refresh()
html_source = browser.html
#html_source = browser.driver.page_source
#html_source = browser.driver.execute_script('return document.documentElement.outerHTML')
Expand Down

0 comments on commit 283f740

Please sign in to comment.