-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[porntrex] Add New Extractor for porntrex.com Provides [PornTrex] and [PornTrexPlayList] #20706
Conversation
This commit is to set up the environment correctly for updating and merging changes as they arise.
Added login and password to playlist class. Also added a new playlist for the the test of the playlist class. I do not know how to test the credentials in youtube-dl yet so needed a class that did not need username and password and that had all its videos available for access.
Some clean ups to remove overly specific url that appears to change daily.
It looks better when the extractor informs the user that it is looking at the file for data.
Reorganised the script adding a PornTrexBaseIE class that will be used for shared methods. Currently hosting only two methods: 1. _login 2. _real_initialize
The video that we used to test the previous version of porntrex.py is no longer on the website. This led to failures in the tests. Here we have a corrected version with working URL.
Four changes made as requested.
Hopefully also make things pythonic.
@ofdogsan nobody actually owes you anything here. I don't feel like I should bother re-review over and over again if one does not even bother to read coding conventions.
Go for it. And spend all your free time maintaining it if you want. We'll see for how long you can last. |
Changes done to close pending fixes raised by youtube_dl maintainer.
Changed regex to reduce the chance of getting string if it is an empty string.
Hi @botzill, thanks for your efforts. I like how you imported the json object and may change this to be similar to that. |
Thx @nindogo , would be great if you could include all the other fields as I need them as well. Thx a lot! |
Hi. I'm new using youtube-dl extractors and I want to run this on google Colab (already using youtube-dl itself on Colab) but I don't have any idea how to start using this extractor on anywhere! |
Please follow the guide below
x
into all the boxes [ ] relevant to your pull request (like that [x])Before submitting a pull request make sure you have:
In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:
What is the purpose of your pull request?
Description of your pull request and other information
New extractor for porntrex.com provides [PornTrex] and [PornTrexPlayList]