Giter Club home page Giter Club logo

pornhub-downloader-python's Introduction

deprecated deprecated deprecated deprecated

PornHub Downloader

GitHub Issues Open

If you feel like it, you can donate me a beer or two ;) Just for the troubles!
DONATE BUTTON

Installation

Check what version of python you have: python --version
Recommended & tested usage is with python3.
Also, check if you have pip3 installed (apt install python3-pip).

1. $ apt install python3
2. $ apt install python3-pip
3. $ wget https://github.com/mariosemes/PornHub-downloader-python/archive/master.zip
4. $ unzip master.zip
5. $ cd PornHub-downloader-python-master
6. $ pip3 install -r requirements.txt
7. $ python3 phdler.py

It will ask you for your download folder PATH. Please enter your full path without the last backslash.
Like this: /home/username/media/phmedia
On first run, phdler will create a database.db which will be used later for everything.

Usage

+-------------------+---------+------------------------------------------------------+
| Tool              | command | item                                                 |
+-------------------+---------+------------------------------------------------------+
| python3 phdler.py | start   |                                                      |
| python3 phdler.py | custom  | url | batch                                          |
| python3 phdler.py | add     | model | pornstar | channel | user | playlist | batch |
| python3 phdler.py | list    | model | pornstar | channel | user | playlist | all   |
| python3 phdler.py | delete  | model | pornstar | channel | user | playlist         |
+-------------------+---------+------------------------------------------------------+

Example

START

python3 phdler.py start

CUSTOM

python3 phdler.py custom https://www.pornhub.com/view_video.php?viewkey=ph5d69a2093729e
or
python3 phdler.py custom batch

The batch option will ask you for the full path of your .txt file where you can import multiple URLs at once.
Take care that every single URL in the .txt file is in his own row.

ADD

python3 phdler.py add https://www.pornhub.com/model/luxurygirl
or
python3 phdler.py add https://www.pornhub.com/pornstar/leolulu
or
python3 phdler.py add https://www.pornhub.com/channels/mia-khalifa
or
python3 phdler.py add https://www.pornhub.com/users/lasse98
or
python3 phdler.py add https://www.pornhub.com/playlist/30012401
or
python3 phdler.py add batch

The batch option will ask you for the full path of your .txt file where you can import multiple URLs at once.
Take care that every single URL in the .txt file is in his own row.

LIST

python3 phdler.py list model
or
python3 phdler.py list pornstar
or
python3 phdler.py list channels
or
python3 phdler.py list users
or
python3 phdler.py list playlist
or
python3 phdler.py list all

DELETE

python3 phdler.py delete model
or
python3 phdler.py delete pornstar
or
python3 phdler.py delete channels
or
python3 phdler.py delete users
or
python3 phdler.py delete playlist

The option DELETE will list the selected item type, list them from the database and give you an option to enter the item ID of which one you want to be deleted.

Explained

Every time you add a new item (model/pornstar and so on), the script will scrape the real name from the website and write it to the database. That is how we can have pretty names in final folders. Every added item is treated with a status of NEW=1, so the script knows that it needs to download all videos from the selected item. After the download of all videos is completed for the selected item, the script will change it to NEW=0. This way, when you START the script, it will first run down trough the database and ask for all items that have the status of NEW=1, and after that, it will check for new videos from items with the status NEW=0. This should not bother you... I just wanted to explain how it works.

Big thanks to

YouTube-DL
PrettyTables
BS4 aka BeautifulSoup4
and of course, all of you :)

pornhub-downloader-python's People

Contributors

dependabot[bot] avatar kdxcxs avatar mariosemes avatar simba87 avatar wanisramdani avatar zhangchn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pornhub-downloader-python's Issues

Premium

Is it possible to add porhub premium into the script?

Temporary failure in name resolution

root@ubuntu:~/PornHub-downloader-python-master# python3 phdler.py add https://www.pornhub.com/channels/mia-khalifa
Running startup checks...
Database exists.
PornHub url validated.
This is a CHANNEL url,
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 156, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 996, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 300, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f33bb285bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.pornhub.com', port=443): Max retries exceeded with url: /channels/mia-khalifa (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f33bb285bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "phdler.py", line 55, in
main()
File "phdler.py", line 21, in main
add_check(sys.argv[2])
File "/root/PornHub-downloader-python-master/functions.py", line 88, in add_check
add_item(name_check)
File "/root/PornHub-downloader-python-master/functions.py", line 270, in add_item
ph_alive_check(name_check)
File "/root/PornHub-downloader-python-master/functions.py", line 68, in ph_alive_check
requested = requests.get(url)
File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.pornhub.com', port=443): Max retries exceeded with url: /channels/mia-khalifa (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f33bb285bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Error when adding pornstar to database.

I got an errror like this:
Running startup checks...
Database exists.
PornHub url validated.
This is a PORNSTAR url,
and the URL is existing.
Traceback (most recent call last):
File "/content/PornHub-downloader-python/phdler.py", line 55, in
main()
File "/content/PornHub-downloader-python/phdler.py", line 21, in main
add_check(sys.argv[2])
File "/content/PornHub-downloader-python/functions.py", line 88, in add_check
add_item(name_check)
File "/content/PornHub-downloader-python/functions.py", line 273, in add_item
item_name = get_item_name(item_type, name_check)
File "/content/PornHub-downloader-python/functions.py", line 102, in get_item_name
title = finder.find(class_='name').text.replace('\n', '').strip()
AttributeError: 'NoneType' object has no attribute 'find'

Type pornstar does not work

It seems as if not all types work well. As type model and single video files work correctly, the type pornstar doesn't. Nothing happens if there is added a correct link and then started the program. Why does this not work?

phdl-log.txt

Error ubuntu 20.04

Running startup checks...
Database exists.
PornHub url validated.
This is a PORNSTAR url,
and the URL is existing.
Traceback (most recent call last):
File "phdler.py", line 55, in
main()
File "phdler.py", line 21, in main
add_check(sys.argv[2])
File "/home/xxx/PornHub-downloader-python-master/functions.py", line 88, in add_check
add_item(name_check)
File "/home/xxx/PornHub-downloader-python-master/functions.py", line 273, in add_item
item_name = get_item_name(item_type, name_check)
File "/home/xxx/PornHub-downloader-python-master/functions.py", line 102, in get_item_name
title = finder.find(class_='name').text.replace('\n', '').strip()
AttributeError: 'NoneType' object has no attribute 'find'

Error on downloading

[PornHubUserVideosUpload] Executing JS on webpage
ERROR: Executing JS failed
:qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I've tried to update youtube-dl, force a mode without screen .... but I haven't make it work

i dont know :(

File "phdler.py", line 55, in
main()
File "phdler.py", line 21, in main
add_check(sys.argv[2])
File "F:\PORN\PornHub-downloader-python-master\functions.py", line 88, in add_check
add_item(name_check)
File "F:\PORN\PornHub-downloader-python-master\functions.py", line 273, in add_item
item_name = get_item_name(item_type, name_check)
File "F:\PORN\PornHub-downloader-python-master\functions.py", line 105, in get_item_name
title = finder.find(class_='title').text.replace('\n', '').strip()
AttributeError: 'NoneType' object has no attribute 'find'

add code for playlist unlimit 36 videos

playlist download will limit 36 videos, i add some code to get all page
not enough time test all playlist, but i think it works

from pyquery import PyQuery as pq # bs4 out of the practice
tokenSearch = re.compile('data-token="([a-zA-Z0-9_-]+\.)')
cookies = {
    xxxxxxxxxxxxxxxxxxxxx
}
        url = "https://www.pornhub.com/" + str(row[1]) + "/" + str(row[2] + url_after)
        if str(row[1]) not in ['model', 'users', 'channels']:
            r = requests.get(url,
                             proxies={'http_proxy': 'http://127.0.0.1:xxxx', 'https_proxy': 'http://127.0.0.1:xxxx'},
                             cookies=cookies)
            r.encoding = 'utf8'
            p = pq(r.text)('.usernameWrap.clearfix').text()
            end = int(re.findall('.*- (\d+).*videos', p)[0]) // 40 + 2 # use all videos count the end page

            # print(f'end page {end}')
            token = tokenSearch.findall(r.text)[0] #next page use

            url = "https://www.pornhub.com/{}/viewChunked?id={}&token={}&page={}" # next page format
            for _ in range(1, end):
                with youtube_dl.YoutubeDL(ydl_opts_start) as ydl:
                    ydl.download([url.format(str(row[1]), str(row[2]),token, str(_))])
        else:
            with youtube_dl.YoutubeDL(ydl_opts_start) as ydl:
                ydl.download([url])```

urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]

Running startup checks...
Database exists.
PornHub url validated.
and the URL is existing.
[PornHub] ph5a3bb9d884374: Downloading pc webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))

telegram bot

is it possible to upload directly to telegram with heroku?

start custom id download

I'm learning python
I'm trying to make a change.
To select the id when play to "start"

elif sys.argv[1] == "start":
if len(sys.argv) > 2:
type_check(sys.argv[2])
list_items(sys.argv[2])
s_input = input("insert id download")
dl_start(s_input)
else:
how_to_use("Missing Item")

Paging is not handled correctly

Thanks for sharing this project. I can't download the full playlist, this playlist contains more than 500 videos, but only the first page was downloaded. All dependencies are the latest version.

$ python3 phdler.py custom https://www.pornhub.com/playlist/102291401
Log


➜  PornHub-downloader-python git:(master) ✗ python3 phdler.py add https://www.pornhub.com/playlist/102291401

Running startup checks...
Database exists.
PornHub url validated.
This is a PLAYLIST url,
and the URL is existing.
Fc2-ppv added to database.
➜  PornHub-downloader-python git:(master) ✗ python3 phdler.py custom https://www.pornhub.com/playlist/102291401

Running startup checks...
Database exists.
PornHub url validated.
and the URL is existing.
[PornHubPagedVideoList] playlist/102291401: Downloading page 1
[download] Downloading playlist: playlist/102291401
[PornHubPagedVideoList] playlist playlist/102291401: Collected 36 video ids (downloading 36 of them)
[download] Downloading video 1 of 36
[PornHub] ph5c6e899fa9129: Downloading pc webpage
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /handpicked/「fc2-ppv.com」愛嬌たっぷり美人OL.mp4
[download]   2.7% of 900.48MiB at  7.32MiB/s ETA 01:59^CTraceback (most recent call last):
  File "phdler.py", line 55, in <module>
    main()
  File "phdler.py", line 15, in main
    custom_dl(sys.argv[2])
  File "/Users/user/Documents/GitHub/PornHub-downloader-python/functions.py", line 242, in custom_dl
    custom_dl_download(name_check)
  File "/Users/user/Documents/GitHub/PornHub-downloader-python/functions.py", line 259, in custom_dl_download
    ydl.download([url])
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1007, in process_ie_result
    extra_info=extra)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
    extra_info=extra_info)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 862, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1643, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1925, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1864, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/downloader/http.py", line 342, in real_download
    return download()
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/downloader/http.py", line 230, in download
    data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 457, in read
    n = self.readinto(b)
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 501, in readinto
    n = self.fp.readinto(b)
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1071, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 929, in read
    return self._sslobj.read(len, buffer)
KeyboardInterrupt
➜  PornHub-downloader-python git:(master) ✗ python3 phdler.py stop

Running startup checks...
Database exists.
Error: Command not found!
Please use the tool like this:
+--------+---------+----------------------------------------------------------------------+
| Tool   | command | item                                                                 |
+--------+---------+----------------------------------------------------------------------+
| phdler | start   |                                                                      |
| phdler | custom  | url (full PornHub url) | batch (for .txt file)                       |
| phdler | add     | model | pornstar | channel | user | playlist | batch (for .txt file) |
| phdler | list    | model | pornstar | channel | user | playlist | all                   |
| phdler | delete  | model | pornstar | channel | user | playlist                         |
+--------+---------+----------------------------------------------------------------------+
➜  PornHub-downloader-python git:(master) ✗ python3 phdler.py start

Running startup checks...
Database exists.
downloading new items
-----------------------------
playlist
102291401
https://www.pornhub.com/playlist/102291401
-----------------------------
[PornHubPagedVideoList] playlist/102291401: Downloading page 1
[download] Downloading playlist: playlist/102291401
[PornHubPagedVideoList] playlist playlist/102291401: Collected 36 video ids (downloading 36 of them)
[download] Downloading video 1 of 36
[PornHub] ph5c6e899fa9129: Downloading pc webpage
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」愛嬌たっぷり美人OL.mp4
[download] 100% of 900.48MiB in 01:18
[download] Downloading video 2 of 36
[PornHub] ph5c6f48353a853: Downloading pc webpage
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/愛嬌たっぷり美人OL1.mp4
[download] 100% of 137.06MiB in 02:45
[download] Downloading video 3 of 36
[PornHub] ph5c6e6e5a5098b: Downloading pc webpage
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-622671 18歳☆S級Loli巨乳娘 思春期.mp4
[download] 100% of 919.63MiB in 01:19
[download] Downloading video 4 of 36
[PornHub] ph5c6e62a5d3a9b: Downloading pc webpage
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1460
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2PPV-1016508 19歳現〇地下アイドルと交.mp4
[download]  63.6% of ~484.63MiB at  544.09B/s ETA 25:43ERROR: giving up after 0 retries
[download] Downloading video 5 of 36
[PornHub] ph5c6e696e9e880: Downloading pc webpage
[PornHub] ph5c6e696e9e880: Downloading m3u8 information
[PornHub] ph5c6e696e9e880: Downloading m3u8 information
[PornHub] ph5c6e696e9e880: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/japanese uncensored.mp4
[download] 100% of 324.60MiB in 10:52
[download] Downloading video 6 of 36
[PornHub] ph5c6e662406fb6: Downloading pc webpage
[PornHub] ph5c6e662406fb6: Downloading m3u8 information
[PornHub] ph5c6e662406fb6: Downloading m3u8 information
[PornHub] ph5c6e662406fb6: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1098
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/japanese amateur.mp4
[download]   2.3% of ~341.07MiB at 382.73KiB/s ETA 30:05ERROR: giving up after 0 retries
[download] Downloading video 7 of 36
[PornHub] ph5c6e61ad88f88: Downloading pc webpage
[PornHub] ph5c6e61ad88f88: Downloading m3u8 information
[PornHub] ph5c6e61ad88f88: Downloading m3u8 information
[PornHub] ph5c6e61ad88f88: Downloading m3u8 information
[download] Resuming download at byte 8143032
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/japanese amateur.mp4
[download] 100% of 313.56MiB in 10:15
[download] Downloading video 8 of 36
[PornHub] ph5c6e4f3ece668: Downloading pc webpage
[PornHub] ph5c6e4f3ece668: Downloading m3u8 information
[PornHub] ph5c6e4f3ece668: Downloading m3u8 information
[PornHub] ph5c6e4f3ece668: Downloading m3u8 information
[PornHub] ph5c6e4f3ece668: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-478235 2019 NO.1圧倒的絶対美小女GET.mp4
[download] 100% of 203.30MiB in 00:19
[download] Downloading video 9 of 36
[PornHub] ph5c6e2081801ff: Downloading pc webpage
[PornHub] ph5c6e2081801ff: Downloading m3u8 information
[PornHub] ph5c6e2081801ff: Downloading m3u8 information
[PornHub] ph5c6e2081801ff: Downloading m3u8 information
[PornHub] ph5c6e2081801ff: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-566393 黒髪巨乳娘.mp4
[download] 100% of 295.65MiB in 01:23
[download] Downloading video 10 of 36
[PornHub] ph5c6e2039a5ce5: Downloading pc webpage
[PornHub] ph5c6e2039a5ce5: Downloading m3u8 information
[PornHub] ph5c6e2039a5ce5: Downloading m3u8 information
[PornHub] ph5c6e2039a5ce5: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 940
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-1030161 23歳ドM性欲OL.mp4
[download] 100% of 355.43MiB in 43:20
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-1030161 23歳ドM性欲OL.mp4"
[download] Downloading video 11 of 36
[PornHub] ph5c6e34b97b656: Downloading pc webpage
[PornHub] ph5c6e34b97b656: Downloading m3u8 information
[PornHub] ph5c6e34b97b656: Downloading m3u8 information
[PornHub] ph5c6e34b97b656: Downloading m3u8 information
[PornHub] ph5c6e34b97b656: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 866
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/video 1038130864.mp4.mp4
[download]   7.3% of ~668.02MiB at 518.75KiB/s ETA 28:38ERROR: giving up after 0 retries
[download] Downloading video 12 of 36
[PornHub] ph5c6d55206fffa: Downloading pc webpage
[PornHub] ph5c6d55206fffa: Downloading m3u8 information
[PornHub] ph5c6d55206fffa: Downloading m3u8 information
[PornHub] ph5c6d55206fffa: Downloading m3u8 information
[PornHub] ph5c6d55206fffa: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 876
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/FC2-PPV 517449 ゆき27歳♪神乳Fcup絶叫潮吹き.mp4
[download] 100% of 700.00MiB in 31:41
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/FC2-PPV 517449 ゆき27歳♪神乳Fcup絶叫潮吹き.mp4"
[download] Downloading video 13 of 36
[PornHub] ph5c6d22386bf0d: Downloading pc webpage
[PornHub] ph5c6d22386bf0d: Downloading m3u8 information
[PornHub] ph5c6d22386bf0d: Downloading m3u8 information
[PornHub] ph5c6d22386bf0d: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 417
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-1029861 幼少的妻子被中出.mp4
[download] 100% of 140.37MiB in 19:47
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-1029861 幼少的妻子被中出.mp4"
[download] Downloading video 14 of 36
[PornHub] ph5c6d26fa95d88: Downloading pc webpage
[PornHub] ph5c6d26fa95d88: Downloading m3u8 information
[PornHub] ph5c6d26fa95d88: Downloading m3u8 information
[PornHub] ph5c6d26fa95d88: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 721
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-1002456 天然ローション乳首舐.mp4
[download] 100% of 282.88MiB in 38:32
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-1002456 天然ローション乳首舐.mp4"
[download] Downloading video 15 of 36
[PornHub] ph5c6f93774f90d: Downloading pc webpage
[PornHub] ph5c6f93774f90d: Downloading m3u8 information
[PornHub] ph5c6f93774f90d: Downloading m3u8 information
[PornHub] ph5c6f93774f90d: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 573
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」完全顔出し 可愛い細身モデル体型な18歳JD.mp4
[download] 100% of 212.19MiB in 27:40
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」完全顔出し 可愛い細身モデル体型な18歳JD.mp4"
[download] Downloading video 16 of 36
[PornHub] ph5c6fa5824d5d4: Downloading pc webpage
[PornHub] ph5c6fa5824d5d4: Downloading m3u8 information
[PornHub] ph5c6fa5824d5d4: Downloading m3u8 information
[PornHub] ph5c6fa5824d5d4: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 616
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」嬢様大学卒・横浜在住のんちゃん(25).mp4
ERROR: giving up after 0 retries
[download] Downloading video 17 of 36
[PornHub] ph5c6d3d99adac7: Downloading pc webpage
[PornHub] ph5c6d3d99adac7: Downloading m3u8 information
[PornHub] ph5c6d3d99adac7: Downloading m3u8 information
[PornHub] ph5c6d3d99adac7: Downloading m3u8 information
[PornHub] ph5c6d3d99adac7: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/Beautiful girls college students.mp4
[download] 100% of 412.08MiB in 14:10
[download] Downloading video 18 of 36
[PornHub] ph5c5bfa8c14bc9: Downloading pc webpage
[PornHub] ph5c5bfa8c14bc9: Downloading m3u8 information
[PornHub] ph5c5bfa8c14bc9: Downloading m3u8 information
[PornHub] ph5c5bfa8c14bc9: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1222
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/FC2 PPV 963343 complete amateur 22 JD Yuki 18 years old 145 centimeters leg.mp4
[download] 100% of 473.75MiB in 39:59
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/FC2 PPV 963343 complete amateur 22 JD Yuki 18 years old 145 centimeters leg.mp4"
[download] Downloading video 19 of 36
[PornHub] ph5c5650ee42114: Downloading pc webpage
[PornHub] ph5c5650ee42114: Downloading m3u8 information
[PornHub] ph5c5650ee42114: Downloading m3u8 information
[PornHub] ph5c5650ee42114: Downloading m3u8 information
[PornHub] ph5c5650ee42114: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/Cute little girl, pretty hairy pussy.mp4
[download] 100% of 273.89MiB in 09:17
[download] Downloading video 20 of 36
[PornHub] ph5c51b7d88eb26: Downloading pc webpage
[PornHub] ph5c51b7d88eb26: Downloading m3u8 information
[PornHub] ph5c51b7d88eb26: Downloading m3u8 information
[PornHub] ph5c51b7d88eb26: Downloading m3u8 information
[PornHub] ph5c51b7d88eb26: Downloading m3u8 information
[PornHub] ph5c51b7d88eb26: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1023679.mp4
[download] 100% of 1.34GiB in 02:11
[download] Downloading video 21 of 36
[PornHub] ph5c51b7d177e2f: Downloading pc webpage
[PornHub] ph5c51b7d177e2f: Downloading m3u8 information
[PornHub] ph5c51b7d177e2f: Downloading m3u8 information
[PornHub] ph5c51b7d177e2f: Downloading m3u8 information
[PornHub] ph5c51b7d177e2f: Downloading m3u8 information
[PornHub] ph5c51b7d177e2f: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1022864.mp4
[download] 100% of 964.30MiB in 01:37
[download] Downloading video 22 of 36
[PornHub] ph5c51606f5abec: Downloading pc webpage
[PornHub] ph5c51606f5abec: Downloading m3u8 information
[PornHub] ph5c51606f5abec: Downloading m3u8 information
[PornHub] ph5c51606f5abec: Downloading m3u8 information
[PornHub] ph5c51606f5abec: Downloading m3u8 information
[PornHub] ph5c51606f5abec: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1023192.mp4
[download] 100% of 958.63MiB in 02:32
[download] Downloading video 23 of 36
[PornHub] ph5c51606973087: Downloading pc webpage
[PornHub] ph5c51606973087: Downloading m3u8 information
[PornHub] ph5c51606973087: Downloading m3u8 information
[PornHub] ph5c51606973087: Downloading m3u8 information
[PornHub] ph5c51606973087: Downloading m3u8 information
[PornHub] ph5c51606973087: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1023080.mp4
[download] 100% of 1005.60MiB in 01:27
[download] Downloading video 24 of 36
[PornHub] ph5c50d74199865: Downloading pc webpage
[PornHub] ph5c50d74199865: Downloading m3u8 information
[PornHub] ph5c50d74199865: Downloading m3u8 information
[PornHub] ph5c50d74199865: Downloading m3u8 information
[PornHub] ph5c50d74199865: Downloading m3u8 information
[PornHub] ph5c50d74199865: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1021461_1.mp4
[download] 100% of 638.89MiB in 02:14
[download] Downloading video 25 of 36
[PornHub] ph5c50d741b450d: Downloading pc webpage
[PornHub] ph5c50d741b450d: Downloading m3u8 information
[PornHub] ph5c50d741b450d: Downloading m3u8 information
[PornHub] ph5c50d741b450d: Downloading m3u8 information
[PornHub] ph5c50d741b450d: Downloading m3u8 information
[PornHub] ph5c50d741b450d: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1021461_2.mp4
[download] 100% of 909.52MiB in 02:42
[download] Downloading video 26 of 36
[PornHub] ph5c50a6a6dbf69: Downloading pc webpage
[PornHub] ph5c50a6a6dbf69: Downloading m3u8 information
[PornHub] ph5c50a6a6dbf69: Downloading m3u8 information
[PornHub] ph5c50a6a6dbf69: Downloading m3u8 information
[PornHub] ph5c50a6a6dbf69: Downloading m3u8 information
[PornHub] ph5c50a6a6dbf69: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1021330.mp4
[download] 100% of 1.22GiB in 01:45
[download] Downloading video 27 of 36
[PornHub] ph5c50a6b008ad9: Downloading pc webpage
[PornHub] ph5c50a6b008ad9: Downloading m3u8 information
[PornHub] ph5c50a6b008ad9: Downloading m3u8 information
[PornHub] ph5c50a6b008ad9: Downloading m3u8 information
[PornHub] ph5c50a6b008ad9: Downloading m3u8 information
[PornHub] ph5c50a6b008ad9: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1021336_2.mp4
[download] 100% of 720.89MiB in 01:06
[download] Downloading video 28 of 36
[PornHub] ph5c50288b906c2: Downloading pc webpage
[PornHub] ph5c50288b906c2: Downloading m3u8 information
[PornHub] ph5c50288b906c2: Downloading m3u8 information
[PornHub] ph5c50288b906c2: Downloading m3u8 information
[PornHub] ph5c50288b906c2: Downloading m3u8 information
[PornHub] ph5c50288b906c2: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1021177_1.mp4
[download] 100% of 1.22GiB in 01:45
[download] Downloading video 29 of 36
[PornHub] ph5c50288ba7701: Downloading pc webpage
[PornHub] ph5c50288ba7701: Downloading m3u8 information
[PornHub] ph5c50288ba7701: Downloading m3u8 information
[PornHub] ph5c50288ba7701: Downloading m3u8 information
[PornHub] ph5c50288ba7701: Downloading m3u8 information
[PornHub] ph5c50288ba7701: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1021177_2.mp4
[download] 100% of 964.87MiB in 01:32
[download] Downloading video 30 of 36
[PornHub] ph5c4ff18816207: Downloading pc webpage
[PornHub] ph5c4ff18816207: Downloading m3u8 information
[PornHub] ph5c4ff18816207: Downloading m3u8 information
[PornHub] ph5c4ff18816207: Downloading m3u8 information
[PornHub] ph5c4ff18816207: Downloading m3u8 information
[PornHub] ph5c4ff18816207: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1019166.mp4
[download] 100% of 1023.58MiB in 03:44
[download] Downloading video 31 of 36
[PornHub] ph5c4ff17f4f2d7: Downloading pc webpage
[PornHub] ph5c4ff17f4f2d7: Downloading m3u8 information
[PornHub] ph5c4ff17f4f2d7: Downloading m3u8 information
[PornHub] ph5c4ff17f4f2d7: Downloading m3u8 information
[PornHub] ph5c4ff17f4f2d7: Downloading m3u8 information
[PornHub] ph5c4ff17f4f2d7: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1019002.mp4
[download] 100% of 1.48GiB in 03:10
[download] Downloading video 32 of 36
[PornHub] ph5c4ff169ca311: Downloading pc webpage
[PornHub] ph5c4ff169ca311: Downloading m3u8 information
[PornHub] ph5c4ff169ca311: Downloading m3u8 information
[PornHub] ph5c4ff169ca311: Downloading m3u8 information
[PornHub] ph5c4ff169ca311: Downloading m3u8 information
[PornHub] ph5c4ff169ca311: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1018829.mp4
[download] 100% of 856.54MiB in 01:35
[download] Downloading video 33 of 36
[PornHub] ph5c4f556b9ebcc: Downloading pc webpage
[PornHub] ph5c4f556b9ebcc: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 502: Bad Gateway
ERROR: cannot unpack non-iterable bool object
[download] Downloading video 34 of 36
[PornHub] ph5c4ec24220620: Downloading pc webpage
[PornHub] ph5c4ec24220620: Downloading m3u8 information
[PornHub] ph5c4ec24220620: Downloading m3u8 information
[PornHub] ph5c4ec24220620: Downloading m3u8 information
[PornHub] ph5c4ec24220620: Downloading m3u8 information
[PornHub] ph5c4ec24220620: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1014839.mp4
[download] 100% of 957.88MiB in 01:30
[download] Downloading video 35 of 36
[PornHub] ph5c4ec2375155f: Downloading pc webpage
[PornHub] ph5c4ec2375155f: Downloading m3u8 information
[PornHub] ph5c4ec2375155f: Downloading m3u8 information
[PornHub] ph5c4ec2375155f: Downloading m3u8 information
[PornHub] ph5c4ec2375155f: Downloading m3u8 information
[PornHub] ph5c4ec2375155f: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1014837.mp4
[download] 100% of 515.22MiB in 00:51
[download] Downloading video 36 of 36
[PornHub] ph5c4e9bc53f07a: Downloading pc webpage
[PornHub] ph5c4e9bc53f07a: Downloading m3u8 information
[PornHub] ph5c4e9bc53f07a: Downloading m3u8 information
[PornHub] ph5c4e9bc53f07a: Downloading m3u8 information
[PornHub] ph5c4e9bc53f07a: Downloading m3u8 information
[PornHub] ph5c4e9bc53f07a: Downloading m3u8 information
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/fc2ppv_1013835cd2.mp4
[download] 100% of 1.26GiB in 02:13
[download] Finished downloading playlist: playlist/102291401
downloading all items
-----------------------------
playlist
102291401
https://www.pornhub.com/playlist/102291401
-----------------------------
[PornHubPagedVideoList] playlist/102291401: Downloading page 1
[download] Downloading playlist: playlist/102291401
[PornHubPagedVideoList] playlist playlist/102291401: Collected 36 video ids (downloading 4 of them)
[download] Downloading video 1 of 4
[PornHub] ph5c6e899fa9129: Downloading pc webpage
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」愛嬌たっぷり美人OL.mp4 has already been downloaded
[download] 100% of 900.48MiB
[download] Downloading video 2 of 4
[PornHub] ph5c6f48353a853: Downloading pc webpage
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/愛嬌たっぷり美人OL1.mp4 has already been downloaded
[download] 100% of 137.06MiB
[download] Downloading video 3 of 4
[PornHub] ph5c6e6e5a5098b: Downloading pc webpage
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-622671 18歳☆S級Loli巨乳娘 思春期.mp4 has already been downloaded
[download] 100% of 919.63MiB
[download] Downloading video 4 of 4
[PornHub] ph5c6e62a5d3a9b: Downloading pc webpage
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1460
[download] Destination: /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2PPV-1016508 19歳現〇地下アイドルと交.mp4
[download] 100% of 507.26MiB in 26:05
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2PPV-1016508 19歳現〇地下アイドルと交.mp4"
[download] Finished downloading playlist: playlist/102291401

➜  PornHub-downloader-python git:(master) ✗ python3 phdler.py start

Running startup checks...
Database exists.
downloading new items
downloading all items
-----------------------------
playlist
102291401
https://www.pornhub.com/playlist/102291401
-----------------------------
[PornHubPagedVideoList] playlist/102291401: Downloading page 1
[download] Downloading playlist: playlist/102291401
[PornHubPagedVideoList] playlist playlist/102291401: Collected 36 video ids (downloading 4 of them)
[download] Downloading video 1 of 4
[PornHub] ph5c6e899fa9129: Downloading pc webpage
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[PornHub] ph5c6e899fa9129: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」愛嬌たっぷり美人OL.mp4 has already been downloaded
[download] 100% of 900.48MiB
[download] Downloading video 2 of 4
[PornHub] ph5c6f48353a853: Downloading pc webpage
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[PornHub] ph5c6f48353a853: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/愛嬌たっぷり美人OL1.mp4 has already been downloaded
[download] 100% of 137.06MiB
[download] Downloading video 3 of 4
[PornHub] ph5c6e6e5a5098b: Downloading pc webpage
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[PornHub] ph5c6e6e5a5098b: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2-PPV-622671 18歳☆S級Loli巨乳娘 思春期.mp4 has already been downloaded
[download] 100% of 919.63MiB
[download] Downloading video 4 of 4
[PornHub] ph5c6e62a5d3a9b: Downloading pc webpage
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[PornHub] ph5c6e62a5d3a9b: Downloading m3u8 information
[download] /Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2PPV-1016508 19歳現〇地下アイドルと交.mp4 has already been downloaded
[download] 100% of 479.33MiB
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/Mac/.AV/pornhub /playlist/Fc2-ppv/「fc2-ppv.com」FC2PPV-1016508 19歳現〇地下アイドルと交.mp4"
[download] Finished downloading playlist: playlist/102291401

Unable to download webpage error

When I enter python3 phdler.py custom url, I get the following error:

ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)')))

Any suggestions? Thanks

chinese PH url

I think the PH url in china is cn.pornhub.com , it may not pass the validate check.

AttributeError: 'NoneType' object has no attribute 'find'

When trying to add to list, I'm getting this error:

AttributeError: 'NoneType' object has no attribute 'find'

Can't add anything. If I try to add batch, I get this error:

PermissionError: [Errno 13] Permission denied: 'D:\DoWNLoad\PornHub-downloader-python-master'

hey, may I ask how to download the video ?

first of all, thank you for your work,
image

and I was confused when try this code

python3 phdler.py custom https://www.pornhub.com/view_video.php\?viewkey\=ph5d69a2093729e

and I have already set the full path,
after type the code above, it download a json file

(env) ➜  PornHub-downloader-python-master python3 phdler.py custom https://www.pornhub.com/view_video.php\?viewkey\=ph5d69a2093729e
Running startup checks...
Database exists.
PornHub url validated.
and the URL is existing.
[PornHub] ph5d69a2093729e: Downloading pc webpage
WARNING: unable to extract uploader; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract view count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract like count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract dislike count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[download] /home/steiner/disk/disk1/泰迦/handpicked/Horny sexy girl take a shower and Fuck with her best friend !.unknown_video has already been downloaded
[download] 100% of 1.45KiB

then, how should I do ??

encode error

When it try to download the videos, it will return a error message "encode error.........".
The problem should be happened from the command of youtube-dl, but when I use youtube-dl to download videos directly, it works.

Error when adding a URL

Hello,
the new version from today seems to have an error now when adding a pornstar URL, see attachment. The URL is not added to database.
phdl.txt

zsh: no matches found:

I got the following error while using

python3 phdler.py custom https://www.pornhub.com/view_video.php?viewkey=ph5d69a2093729e

zsh: no matches found: https://www.pornhub.com/view_video.php?viewkey=ph5d69a2093729e

How do i resume my downloads

Hi
I was downloading a huge playlist of around 500 videos and my download got cutoff at 300 videos
Is there any way to resume downloads
Thanks

Phantom JS executable not found in Path, download it from https://phantomjs.org

Hey i have a problem. After a fresh installation i was able to run it once.
When i want to run it now it says:

ERROR: PhantomJS executable not found in PATH, download it from http://phantomjs.org

When i install it it says:

ERROR: Executing JS failed :qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. ; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Some one has the same error or can help me thanks.

Development

Hey bro
Thats a great repo
It would be so awesome if you give heroku support

Please anyone contribute for heroku support

Downloading stuck at middle

I was trying to download a playlist. but it's automatically stuck after 2 or 3 videos
nothing happened. I have to terminate my script and restart again & again.
and one more thing please tell me
could we increase downloading speed BCS maximum speed using by this script 1.5 MB/ps

Screenshot from 2020-03-26 19-42-32

file permission denied

PermissionError: [Errno 13] Permission denied: 'C:\Users\Me\Downloads'

I've tried putting both the .txt file and the whole pornhub downloader folder in my python folder and downloads folder, but it stll gave that error

Im not sure what im doing wrong

Download dont work

Hey, can you help me with my issue?

OS: Debian 10
Python: 2.7.16

root@NextcloudSteven:~/PornHub-downloader-python-master#` python3 phdler.py add https://www.pornhub.com/pornstar/fiona-fuchs

Running startup checks...
Database exists.
PornHub url validated.
This is a PORNSTAR url,
and the URL is existing.
Fiona Fuchs added to database.
root@NextcloudSteven:~/PornHub-downloader-python-master# python3 phdler.py start
Running startup checks...
Database exists.
downloading new items

pornstar
fiona-fuchs
https://www.pornhub.com/pornstar/fiona-fuchs

[PornHubPagedVideoList] pornstar/fiona-fuchs/videos: Downloading page 1
[download] Downloading playlist: pornstar/fiona-fuchs/videos
[PornHubPagedVideoList] playlist pornstar/fiona-fuchs/videos: Collected 32 video ids (downloading 32 of them)
[download] Downloading video 1 of 32
[PornHub] ph6118d37b6d298: Downloading pc webpage
WARNING: unable to extract uploader; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract view count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract like count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract dislike count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[download] Destination: /root/OneDrive/Porno/PornHub//pornstar/Fiona Fuchs/Fiona Fuchs rides his dick, cum twice & got her pussy filled with cum.unknown_video
[download] 100% of 1.39KiB in 00:00
[download] Downloading video 2 of 32
[PornHub] ph60b763d481db2: Downloading pc webpage
WARNING: unable to extract uploader; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract view count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract like count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract dislike count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[download] Destination: /root/OneDrive/Porno/PornHub//pornstar/Fiona Fuchs/Girl with big ass gets doggy fucked in leather outfit - Fiona Fuchs.unknown_video
[download] 100% of 1.39KiB in 00:00
[download] Downloading video 3 of 32

No error handling/retry

The script as written will skip over currently published videos that have failed, update the database to mark that source as scraped, and continue on.

There is no way to retry failed videos outside of manual going back into the database and changing the scrape date.

AttrubuteError: when trying to use add option.

$ python3 phdler.py add https://www.pornhub.com/channels/mia-khalifa
will return the error

Running startup checks...
Database exists.
PornHub url validated.
This is a CHANNEL url,
and the URL is existing.
Traceback (most recent call last):
  File "phdler.py", line 55, in <module>
    main()
  File "phdler.py", line 21, in main
    add_check(sys.argv[2])
  File "/home/<username>/PornHub-downloader-python/functions.py", line 88, in add_check
    add_item(name_check)
  File "/home/<username>/PornHub-downloader-python/functions.py", line 273, in add_item
    item_name = get_item_name(item_type, name_check)
  File "/home/<username>/PornHub-downloader-python/functions.py", line 105, in get_item_name
    title = finder.find(class_='title').text.replace('\n', '').strip()
AttributeError: 'NoneType' object has no attribute 'find'

using python 3.8.5
using package versions from requirements.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.