Nekmo / dirhunt

Find web directories without bruteforce
MIT License
1.73k stars 237 forks source link

added custom Headers/Cookies #85

Closed s0i37 closed 3 years ago

codecov[bot] commented 3 years ago

Codecov Report

Merging #85 (0357813) into develop (2346c53) will increase coverage by 0.64%. The diff coverage is 80.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #85      +/-   ##
===========================================
+ Coverage    91.95%   92.60%   +0.64%     
===========================================
  Files           35       35              
  Lines         2076     2082       +6     
===========================================
+ Hits          1909     1928      +19     
+ Misses         167      154      -13     
Impacted Files Coverage Δ
dirhunt/sessions.py 98.03% <77.77%> (-0.92%) :arrow_down:
dirhunt/crawler.py 84.12% <100.00%> (ø)
dirhunt/processors.py 90.42% <0.00%> (+0.70%) :arrow_up:
dirhunt/tests/test_sessions.py 100.00% <0.00%> (+1.25%) :arrow_up:
dirhunt/tests/test_sources.py 100.00% <0.00%> (+1.28%) :arrow_up:
dirhunt/tests/test_exceptions.py 100.00% <0.00%> (+6.66%) :arrow_up:
dirhunt/_compat.py 79.16% <0.00%> (+29.16%) :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 2346c53...7e9618e. Read the comment docs.

Nekmo commented 3 years ago

Hi @s0i37 ,

Thanks for your contribution! I just found a mistake. In Python you should not use dynamic values in parameters. Here is more info:

https://codefellows.github.io/sea-f2-python-sept14/session05.html#mutables-as-default-arguments

After this error I could include your changes. It would also be great if you include tests.

Thanks again!

s0i37 commented 3 years ago

I have fixed

Nekmo commented 3 years ago

Merged! Thank