Подравнял русскую версию сайта
This commit is contained in:
+2
-2
@@ -84,9 +84,9 @@ p.getStaticPage(nameFile, 'https://google.com')
|
|||||||
soup = p.returnBs4Object(nameFile)
|
soup = p.returnBs4Object(nameFile)
|
||||||
|
|
||||||
allTegA = soup.find_all('a')
|
allTegA = soup.find_all('a')
|
||||||
a1 = p.getTexts(allTegA, needFix=1)
|
textsFromA = p.getTexts(allTegA, needFix=1)
|
||||||
p.pprint(a1)
|
p.pprint(a1)
|
||||||
|
|
||||||
a2 = p.getAttributes(allTegA, 'href')
|
attributesFromA = p.getAttributes(allTegA, 'href')
|
||||||
p.pprint(a2)
|
p.pprint(a2)
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user