format strings traditional mode
This commit is contained in:
parent
4a6a052b5c
commit
c5e51fdb15
2
livie.py
2
livie.py
@ -22,7 +22,7 @@ def replace(string):
|
|||||||
|
|
||||||
for vid in SOUP.find_all(class_='yt-lockup-content'):
|
for vid in SOUP.find_all(class_='yt-lockup-content'):
|
||||||
try:
|
try:
|
||||||
link = 'https://invidio.us' + vid.h3.a['href']
|
link = 'https://invidio.us/%s' % vid.h3.a['href']
|
||||||
title = vid.h3.a.text
|
title = vid.h3.a.text
|
||||||
description = vid.h3.span.text
|
description = vid.h3.span.text
|
||||||
author = vid.find(class_='yt-lockup-byline').a.text
|
author = vid.find(class_='yt-lockup-byline').a.text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user