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
{ | |
"recommendations": [ | |
// A Vite-native testing framework. It's fast! | |
"vitest.explorer", | |
// Icons for Visual Studio Code | |
"vscode-icons-team.vscode-icons", | |
// Integrates ESLint JavaScript into VS Code. | |
"dbaeumer.vscode-eslint", | |
// Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, | |
// seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful |
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 |
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" | |
) |