From 27df57f62375b7478ddfca3a79234d7c06d881df Mon Sep 17 00:00:00 2001 From: Gage Irwin <91108814+gageirwin@users.noreply.github.com> Date: Fri, 12 May 2023 18:50:42 -0500 Subject: [PATCH] Update byuser.py --- src/byuser.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/byuser.py b/src/byuser.py index 60bb535..a4f2dd0 100644 --- a/src/byuser.py +++ b/src/byuser.py @@ -1,4 +1,7 @@ +import time + import requests +from bs4 import BeautifulSoup from log import logtofile as log from src.streaming import getVideoInfo, mpv @@ -15,10 +18,6 @@ def streamuser(username): mpv(url) log(f"Video {link} was played.") -import time - -from bs4 import BeautifulSoup - def proxitok_scraper(username: str) -> list[str]: print("Obtaining URLs - this can take a while with users with many posts.")