althonos / InstaLooter

Another API-less Instagram pictures and videos downloader.
GNU General Public License v3.0
2k stars 259 forks source link

Support resuming iteration from saved end_cursor. Implements #226 (WIP) #316

Open tonycpsu opened 3 years ago

tonycpsu commented 3 years ago

The latter isn't particularly useful yet without a way to either display cursors in the downloader output or better yet save them to the cache directory, but it demonstrates the functionality.

This is a work in progress, but I figured I'd show what I have now to see if it merits merging with some additional documentation and polish.

codecov[bot] commented 3 years ago

Codecov Report

Merging #316 (327c3d3) into master (282de89) will decrease coverage by 28.79%. The diff coverage is 59.68%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #316       +/-   ##
===========================================
- Coverage   79.83%   51.04%   -28.80%     
===========================================
  Files          16       26       +10     
  Lines         972     1538      +566     
  Branches      134      151       +17     
===========================================
+ Hits          776      785        +9     
- Misses        155      738      +583     
+ Partials       41       15       -26     
Impacted Files Coverage Δ
instalooter/_impl.py 100.00% <ø> (ø)
instalooter/_utils.py 55.00% <ø> (-33.47%) :arrow_down:
instalooter/cli/__init__.py 23.72% <0.00%> (-38.99%) :arrow_down:
instalooter/cli/constants.py 83.33% <ø> (ø)
instalooter/pbar.py 100.00% <ø> (ø)
tests/test_pbar.py 100.00% <ø> (ø)
instalooter/looters.py 37.36% <31.81%> (-36.83%) :arrow_down:
tests/test_looter.py 62.50% <42.30%> (ø)
tests/test_login.py 46.51% <50.00%> (ø)
instalooter/pages.py 39.13% <57.14%> (-46.72%) :arrow_down:
... and 22 more

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 40f7c64...327c3d3. Read the comment docs.