Skip to content

plugins.yupptv: fix/minor rewrite #3116

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

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

mkbloke
Copy link
Member

@mkbloke mkbloke commented Aug 18, 2020

  • Remove site login code and device logout code
  • Add credentials caching/purging code and command line options
  • Fix class name in plugin test, update tests to loop over list
  • Minor update to negative test function name

Fix for #3094. Verified as working by one user: #3094 (comment)

closes #3094

@codecov
Copy link

codecov bot commented Aug 18, 2020

Codecov Report

Merging #3116 into master will decrease coverage by 0.19%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##           master    #3116      +/-   ##
==========================================
- Coverage   52.81%   52.62%   -0.20%     
==========================================
  Files         244      243       -1     
  Lines       15559    15610      +51     
==========================================
- Hits         8218     8214       -4     
- Misses       7341     7396      +55     

@mkbloke
Copy link
Member Author

mkbloke commented Aug 31, 2020

A few notes:

I have now tested this as best I can under both Py2 and Py3.

I have an account, but I do not have any package subscription, so cannot test fully, but the code that was already in the plugin which deals with that still seems to be valid.

I've added very little original code to this plugin, almost all additions are ripped from the pixiv plugin.

I suggest giving the code a once-over/sanity check, testing against the freely available streams which appear not to be geo-IP restricted and then merge, given that full testing is otherwise impossible without a subscription and therefore, it will be necessary to rely on user reports (or lack of).

Cheers.

@back-to back-to added the plugin issue A Plugin does not work correctly label Sep 1, 2020
- Remove site login code and device logout code
- Add credentials caching/purging code and command line options
- Fix class name in plugin test, update tests to loop over list
- Minor update to negative test function name
@mkbloke mkbloke force-pushed the yupptv-site-change-2020-08-1 branch from fd207f6 to 1b7d898 Compare September 21, 2020 18:11
@mkbloke mkbloke mentioned this pull request Sep 21, 2020
@bastimeyer
Copy link
Member

Let's merge this, as discussed in the release PR. If there are any further issues, they can be fixed later. Thanks for the rewrite!

@bastimeyer bastimeyer merged commit 59ea2b1 into streamlink:master Sep 22, 2020
@mkbloke mkbloke deleted the yupptv-site-change-2020-08-1 branch September 22, 2020 00:23
resiproxy pushed a commit to resiproxy/streamlink that referenced this pull request Nov 5, 2020
- Remove site login code and device logout code
- Add credentials caching/purging code and command line options
- Fix class name in plugin test, update tests to loop over list
- Minor update to negative test function name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin issue A Plugin does not work correctly restriction: account needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

YuppTV - Invalid captcha token
3 participants