hentai-chan / hentai

Implements a wrapper class around nhentai's RESTful API.
https://www.hentai-chan.dev/projects/hentai
GNU General Public License v3.0
210 stars 21 forks source link

Version 3.2.7 #130

Closed hentai-chan closed 3 years ago

hentai-chan commented 3 years ago

Makes the Hentai class hashable and changes the return type of some methods from List[Hentai] to Set[Hentai]. It also cuts down the total amount of external dependencies to 2 (requests and tqdm). Another noticeable change took place in the RequestHandler class: session objects now depict a descriptive and truthful UA string. This makes it easier for server administrators to identify bot requests.

codecov[bot] commented 3 years ago

Codecov Report

Merging #130 (92973d5) into master (3d7b8c1) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
+ Coverage   93.62%   93.70%   +0.08%     
==========================================
  Files           1        1              
  Lines         392      397       +5     
==========================================
+ Hits          367      372       +5     
  Misses         25       25              
Flag Coverage Δ
unittests 93.70% <100.00%> (+0.08%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/hentai/hentai.py 93.70% <100.00%> (+0.08%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3d7b8c1...92973d5. Read the comment docs.