from Parser_class import Parser # print('Напишите никнейм пользователя') # site = input() # site = 'https://lichess.org/@/' + site site = 'https://lichess.org/@/MrUltraBulletChess' print('Человек с ником MrUltraBulletChess сейчас') global flag while True: parser = Parser(site, 'news.txt') parser.run() # print(parser.html) # print(parser.results)
from Parser_class import Parser parser = Parser('https://www.ua-football.com/sport', 'news.txt') parser.run()
from Parser_class import Parser parser = Parser('https://www.sport-express.ru/news/', 'news1.txt') parser.run() print(parser.results)