diff options
-rw-r--r-- | livie.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ for vid in SOUP.find_all(class_='yt-lockup-content'): author = vid.find(class_='yt-lockup-byline').a.text meta = vid.find(class_='yt-lockup-meta').ul.contents time = meta[0].text - views_str = meta[1].text[:-6] + views_str = meta[-1].text[:-6] views = int(views_str.replace(',', '')) except TypeError: |