YouTube-Viewer icon indicating copy to clipboard operation
YouTube-Viewer copied to clipboard

Add support for YouTube shorts.

Open TrueBurn opened this issue 1 year ago • 1 comments

Add support for youtube shorts. => #554 Improve logging and error handling.

TrueBurn avatar May 29 '23 14:05 TrueBurn

Get cookies and history directory in Google Chrome

cookies_path = os.path.join(os.environ['LOCALAPPDATA'], r'Google\Chrome\User Data\Default\Cookies') history_path = os.path.join(os.environ['LOCALAPPDATA'], r'Google\Chrome\User Data\Default\History')

Delete cookies and history try: os. remove(cookies_path) os. remove(history_path) print("Cookies and History cleared successfully.") except Exception as e: print("Error while clearing cookies and history:", e)

kevindoni avatar Jul 04 '23 15:07 kevindoni