Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies not working properly #17515

Closed
andrewkucz opened this issue Sep 9, 2018 · 0 comments
Closed

Cookies not working properly #17515

andrewkucz opened this issue Sep 9, 2018 · 0 comments

Comments

@andrewkucz
Copy link

@andrewkucz andrewkucz commented Sep 9, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.09.08

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Verbose Output

Andrews-Mac-mini:~ andrewkuc$ youtube-dl -v
[debug] System config: [u'--batch-file', u'/Users/andrewkuc/Dropbox/Public/DL.txt', u'-o', u'/Users/andrewkuc/Movies/.private/Videos/%(title)s-%(id)s.%(ext)s', u'--cookies', u'/Users/andrewkuc/Dropbox/Public/cookies.txt', u'--username', u'PRIVATE', u'--password', u'PRIVATE']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v']
[debug] Batch file urls: [u'https://www.pornhub.com/view_video.php?viewkey=ph57604e65e3a6f&pkey=68248601']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.08
[debug] Python version 2.7.10 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {}
[PornHub] ph57604e65e3a6f: Downloading pc webpage
ERROR: ph57604e65e3a6f: PornHub said: Sorry, but this video is private. You must be friends with random757575 to view this video.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 154, in _real_extract
    expected=True, video_id=video_id)
ExtractorError: ph57604e65e3a6f: PornHub said: Sorry, but this video is private. You must be friends with random757575 to view this video.

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

I'm aware that cookies themselves do not guarantee success but after browsing old issues I found the following issue with an identical problem to mine months ago. #15697

At the end of that thread the issue appears to be resolved, however, unless I'm doing something wrong, the issue persists.

@andrewkucz andrewkucz changed the title [PORNHUB] Cookies not working properly [PORNHUB] Cookies not working properly - Private video download Sep 9, 2018
@andrewkucz andrewkucz changed the title [PORNHUB] Cookies not working properly - Private video download [PH] Cookies not working properly - Private video download Sep 17, 2018
@andrewkucz andrewkucz closed this Oct 2, 2018
@andrewkucz andrewkucz changed the title [PH] Cookies not working properly - Private video download Cookies not working properly Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.