From c5e51fdb152d670e98a88e47280ba439f7679024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 4 Dec 2019 23:46:18 -0500 Subject: [PATCH] format strings traditional mode --- livie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livie.py b/livie.py index 0fcc57c..29dbff8 100644 --- a/livie.py +++ b/livie.py @@ -22,7 +22,7 @@ def replace(string): for vid in SOUP.find_all(class_='yt-lockup-content'): try: - link = 'https://invidio.us' + vid.h3.a['href'] + link = 'https://invidio.us/%s' % vid.h3.a['href'] title = vid.h3.a.text description = vid.h3.span.text author = vid.find(class_='yt-lockup-byline').a.text