Skip to content

Commit

Permalink
Merge pull request #7 from MajideND/fix/3
Browse files Browse the repository at this point in the history
fix #6
  • Loading branch information
MajideND authored Aug 12, 2024
2 parents 00ae862 + 8a54092 commit 9b0d0b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def counter():
dataStructreType = 2
result = driver.find_element_by_xpath('//body/div[2]/div[3]/div[8]/div[9]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[2]').find_element_by_class_name('fontBodySmall').text
result = result.replace(',', '')
result = result.replace('.', '')
result = result.split(' ')
result = result[0].split('\n')
return int(int(result[0])/10)+1, dataStructreType
Expand Down

0 comments on commit 9b0d0b2

Please sign in to comment.