Skip to content

Commit 627a812

Browse files
Update AMS.py
Adjust web page parsing
1 parent 1fd3613 commit 627a812

File tree

1 file changed

+1
-1
lines changed
  • Amsterdam Internet Exchange

1 file changed

+1
-1
lines changed

Amsterdam Internet Exchange/AMS.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def retrieveValue(location_code):
3434
final_url = url + location_code
3535
response = session.get(final_url, headers=header_get)
3636
soup = BeautifulSoup(response.text, 'html.parser')
37-
return soup.find('div', class_='sc-iujRgT').find('div', class_='kqvLeo').get_text().strip()
37+
return soup.find('div', class_='sc-gHboQg').find('div', class_='gseimR').get_text().strip()
3838

3939
# Function to correct the numeric value and unit
4040
def correctValue(value):

0 commit comments

Comments
 (0)