This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
from bs4 import BeautifulSoup | |
wiki = 'https://pt.wikipedia.org/wiki/Lista_de_capitais_do_Brasil_por_%C3%A1rea' | |
page = urllib.request.urlopen(wiki) | |
soup = BeautifulSoup(page, 'html.parser') | |
table = soup.find('table') | |
A=[] | |
B=[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<amp-analytics config="https://www.googletagmanager.com/amp.json?id=GTM-XXXXX>m.url=SOURCE_URL" data-credentials="include"> | |
<script type="application/json"> | |
{ | |
"vars": { | |
"var1": "val1", "var2": "val2" | |
} | |
} | |
</script> | |
</amp-analytics> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<amp-analytics type="googleanalytics"> | |
<script type="application/json"> | |
{ | |
"vars": { | |
"account": "UA-XXXXX-Y" | |
}, | |
"triggers": { | |
"trackPageview": { | |
"on": "visible", | |
"request": "pageview" |