Skip to content

Instantly share code, notes, and snippets.

@babtsoualiaksandr
babtsoualiaksandr / simple_parser.py
Created July 7, 2021 10:33 — forked from Sinitca-Aleksandr/simple_parser.py
Простой многопоточный парсер на Python 3.5
from bs4 import BeautifulSoup
from urllib.request import urlopen
import threading
eMails = []
urls = []
last_urls =[]
def findEmail(url, TTL, mainUrl):
eMail = ''
try:
#Сразу отсеим ссылки на документы pdf
# Source: https://gist.github.com/vfarcic/8301efb15748af1da3e376b7132e519e
###################################################################
# Should We Run Databases In Kubernetes? CloudNativePG PostgreSQL #
# https://youtu.be/Ny9RxM6H6Hg #
###################################################################
# Additional Info:
# - CloudNativePG: https://cloudnative-pg.io
# - EDB: https://enterprisedb.com