Skip to content

Commit

Permalink
Fix episodes
Browse files Browse the repository at this point in the history
  • Loading branch information
yumata committed Nov 15, 2021
1 parent cba10ab commit d13f2ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -7388,7 +7388,12 @@
};
var math = path.match(/s([0-9]+)\.?ep?([0-9]+)/);
if (!math) math = path.match(/s([0-9]{2})([0-9]+)/);
if (!math) math = path.match(/([0-9]{1,2})x([0-9]+)/);
if (!math) math = path.match(/[ |\[|(]([0-9]{1,2})x([0-9]+)/);

if (!math) {
math = path.match(/[ |\[|(]([0-9]{1,3}) of ([0-9]+)/);
if (math) math = [0, 1, math[1]];
}

if (!math) {
math = path.match(/ep?([0-9]+)/);
Expand Down

0 comments on commit d13f2ed

Please sign in to comment.