Skip to content

Commit

Permalink
remove useless print
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryu1845 committed Jan 12, 2022
1 parent 34678ea commit 68a93d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions twspace_dl/twspace_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def guest_token() -> str:
guest_token = response["guest_token"]
if not guest_token:
raise RuntimeError("No guest token found after five retry")
print()
logging.debug(guest_token)
return guest_token

Expand Down Expand Up @@ -256,7 +255,6 @@ def playlist_text(self) -> str:
"""Modify the chunks URL using the master one to be able to download"""
playlist_text = requests.get(self.playlist_url).text
master_url_wo_file = re.sub("master_playlist\.m3u8.*", "", self.master_url)
print(master_url_wo_file)
playlist_text = re.sub(r"(?=chunk)", master_url_wo_file, playlist_text)
return playlist_text

Expand Down

0 comments on commit 68a93d3

Please sign in to comment.