From 6f3ba8c38fd74c34627b26118e2c616c21ada85d Mon Sep 17 00:00:00 2001 From: tnt2402 Date: Mon, 20 Feb 2023 19:19:47 +0700 Subject: [PATCH] update readme.md --- README.md | 7 ++++--- lib_pornhub.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d4db001..a979a89 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ PornHub-dl is a Python tool for downloading PornHub video/playlist. ## Requirements ```bash Python 3.7 or later -A VPN or you can use 1.1.1.1 WARP +VPN or any anti - Deep Packet Inspection (if your ISP blocks Pornhub) ^-^ + ``` ## Installation @@ -50,9 +51,9 @@ Please make sure to update tests as appropriate. ## Special thanks YouTube-DL (the world's most powerful tool) - +aria2c (a f*ckinn lightweight multi-source command-line download utility) PyFiglet (simple and beauty) - +@ValdikSS for his Deep Packet Inspection circumvention utility (github.com/ValdikSS/GoodbyeDPI) @mariosemes for his PornHub-downloader (github.com/mariosemes/PornHub-downloader-python) # from tnt2402 with <3 diff --git a/lib_pornhub.py b/lib_pornhub.py index fb455d2..50411bb 100644 --- a/lib_pornhub.py +++ b/lib_pornhub.py @@ -101,7 +101,7 @@ def fix_title(s): deny_char = ['\\', '/', '.', '?', '*', ':', '!'] for i in deny_char: decoded_unicode = decoded_unicode.replace(i, '') - return decoded_unicode + return decoded_unicode.strip() def check_output_dir(model_name):