-
Commit
chore: configuring vscode
-
create an repository on the git.
-
create file
.gitignore
:node_modules
-
This file contains hidden or 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 requests | |
from bs4 import BeautifulSoup | |
class GloboBot: | |
def fetch_first_page(self) -> str: | |
resp = requests.get("https://www.globo.com/", headers={ | |
"User-agent": ( | |
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHT" | |
"ML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" | |
) |
This file contains hidden or 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
version: '3' | |
services: | |
neo4j: | |
container_name: neo4j | |
image: neo4j | |
ports: | |
- 7473:7473 | |
- 7474:7474 | |
- 7687:7687 |