Skip to content

Instantly share code, notes, and snippets.

View imgVOID's full-sized avatar
🎯
Focusing

Maria Hl. imgVOID

🎯
Focusing
View GitHub Profile
from bs4 import BeautifulSoup
import requests
root = 'https://subslikescript.com'
website = f'{root}/movies'
result = requests.get(website)
content = result.text
soup = BeautifulSoup(content, 'lxml')
box = soup.find('article', class_='main-article')
<article class ="main-article">
<h1> Титаник(1997) </h1>
<p class ="plot" > 84 года спустя... </p>
<div class ="full-script">
"13 метров. Можешь сам посмотреть. "
<br>
"Хорошо, поднимите её и перекиньте через носовой поручень. "
<br>
...
</div>
@imgVOID
imgVOID / settings.py
Created June 5, 2020 14:15 — forked from drivard/settings.py
Django basic settings.py with sqlite3 database
# Django settings for myproject project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS