Merge pull request #55 from wagnernoise/master

👌 Update scraper.py
This commit is contained in:
Haris Muneer 2019-10-08 14:29:50 +05:00 committed by GitHub
commit 57ef40d4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ def scroll():
def get_status(x):
status = ""
try:
status = x.find_element_by_xpath(".//div[@class='_5wj-']").text
status = x.find_element_by_xpath(".//div[@class='_5wj-']").text #use _1xnd for Pages
except:
try:
status = x.find_element_by_xpath(".//div[@class='userContent']").text