Hamuko / cum

comic updater, mangafied
Apache License 2.0
170 stars 15 forks source link

Fix Specials for some DynastyScans series #36

Closed CounterPillow closed 7 years ago

CounterPillow commented 7 years ago

Some series have their specials labelled in a certain way which previously made cum overwrite regular chapters with the specials.

This changes the regex to have named groups, and a group to catch whether something is a chapter or a special is introduced.

A unit test which checks one series that previously exhibited this issue is added, in which the chapter names and the filenames are checked to be unique.

Somewhat relates to #35, but does not fix the original batoto-specific issue.

codecov-io commented 7 years ago

Current coverage is 97.76% (diff: 100%)

Merging #36 into master will increase coverage by <.01%

@@             master        #36   diff @@
==========================================
  Files            16         16          
  Lines          1471       1474     +3   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1438       1441     +3   
  Misses           33         33          
  Partials          0          0          

Powered by Codecov. Last update 65a4b8b...a197b99