Skip to content

Commit

Permalink
Remove live ksk plugin due to dead website
Browse files Browse the repository at this point in the history
rip it never scored
  • Loading branch information
Difegue committed Oct 8, 2023
1 parent 0397d25 commit 1d97438
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 1,317 deletions.
97 changes: 0 additions & 97 deletions lib/LANraragi/Plugin/Download/Koushoku.pm

This file was deleted.

188 changes: 0 additions & 188 deletions lib/LANraragi/Plugin/Metadata/Koushoku.pm

This file was deleted.

47 changes: 0 additions & 47 deletions tests/LANraragi/Plugin/Metadata/Koushoku.t

This file was deleted.

9 changes: 4 additions & 5 deletions tests/modules.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ my @modules = (
"LANraragi::Plugin::Metadata::Eze", "LANraragi::Plugin::Metadata::Hdoujin",
"LANraragi::Plugin::Metadata::Koromo", "LANraragi::Plugin::Metadata::MEMS",
"LANraragi::Plugin::Metadata::nHentai", "LANraragi::Plugin::Metadata::RegexParse",
"LANraragi::Plugin::Metadata::Fakku", "LANraragi::Plugin::Metadata::Koushoku",
"LANraragi::Plugin::Login::EHentai", "LANraragi::Plugin::Login::Fakku",
"LANraragi::Plugin::Scripts::SourceFinder", "LANraragi::Plugin::Scripts::FolderToCat",
"LANraragi::Plugin::Download::EHentai", "LANraragi::Plugin::Download::Chaika",
"LANraragi::Plugin::Download::Koushoku", "LANraragi::Plugin::Scripts::nHentaiSourceConverter",
"LANraragi::Plugin::Metadata::Fakku", "LANraragi::Plugin::Login::EHentai",
"LANraragi::Plugin::Login::Fakku", "LANraragi::Plugin::Scripts::SourceFinder",
"LANraragi::Plugin::Scripts::FolderToCat", "LANraragi::Plugin::Download::EHentai",
"LANraragi::Plugin::Download::Chaika", "LANraragi::Plugin::Scripts::nHentaiSourceConverter",
"LANraragi::Plugin::Metadata::Hitomi", "LANraragi::Plugin::Metadata::Hentag",
"LANraragi::Plugin::Metadata::HentagOnline", "LANraragi::Plugin::Metadata::ComicInfo",
"LANraragi::Plugin::Metadata::ChaikaFile", "LANraragi::Plugin::Metadata::Ksk",
Expand Down
20 changes: 1 addition & 19 deletions tests/plugins.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use LANraragi::Plugin::Metadata::Chaika;
use LANraragi::Plugin::Metadata::Eze;
use LANraragi::Plugin::Metadata::Fakku;
use LANraragi::Plugin::Metadata::Hitomi;
use LANraragi::Plugin::Metadata::Koushoku;

# Mock Redis
my $cwd = getcwd;
Expand Down Expand Up @@ -95,27 +94,10 @@ note("FAKKU Tests : Disabled due to cloudflare being used");
# is( $f_result_title, $f_title, 'FAKKU title parsing test' );
# }

note("Koushoku Tests : Disabled due to cloudflare being used");

# {
# my $ua = Mojo::UserAgent->new;
# my $k_title = "futuregraph #175";
# my $k_url = "https://ksk.moe/view/3077/f8d48ef8c7be";
# my $k_tags =
# "artist:range murata, parody:original work, magazine:comic kairakuten 2018-06, color, illustration, non-h, twintails, unlimited";

# is( LANraragi::Plugin::Metadata::Koushoku::search_for_ksk_url( "title:futuregraph magazine:comic kairakuten 2018-06", $ua ),
# $k_url, 'Koushoku search test' );

# my ( $k_result_tags, $k_result_title ) = LANraragi::Plugin::Metadata::Koushoku::get_tags_from_ksk( $k_url, $ua );
# is( $k_result_tags, $k_tags, 'Koushoku tags parsing test' );
# is( $k_result_title, $k_title, 'Koushoku title parsing test' );
#}

note("Hitomi Tests");

{
my $hi_gID = "2261881";
my $hi_gID = "2261881";
my %hi_hashdata = trap { LANraragi::Plugin::Metadata::Hitomi::get_tags_from_Hitomi( $hi_gID, 1 ); };

ok( length $hi_hashdata{tags} > 0, 'Hitomi API Tag retrieval test' );
Expand Down
Loading

0 comments on commit 1d97438

Please sign in to comment.