mpl
810266680a
Cope when item in .lastDone does not exist (anymore)
...
Also update chromedp to 0.5.4, so we can benefit from conveniences such
as RunResponse (which is relied upon for this fix).
Consequently, that means a recent enough Chrome version (v83) is needed
as per this commit.
See https://github.com/chromedp/chromedp/issues/627
Fixes #17
4 years ago
Jake Wharton
e9d1979707
Use correct module path
4 years ago
mpl
ecbc0acc43
Keep track of most recent item in the feed
...
And use it as termination sentinel.
Also add go module files.
Fixes #12
Fixes #15
4 years ago
mpl
6a2f034a9d
navLeft: add events based mechanism to wait for page readiness
...
Fixes #6
5 years ago
Daniel Lauzon
2a2f7eb89f
Add a -headless flag (for dev mode)
5 years ago
Brad Fitzpatrick
dc2770d6e5
README: add some links, mention Drive sync
5 years ago
mpl
a5e572ba65
README: add why section
5 years ago
mpl
4bdda1b0b0
Use pointer receiver for Session everywhere
5 years ago
mpl
8be316aa4e
address Brad's comments
5 years ago
mpl
7fd078dcdb
added README
5 years ago
mpl
ee6d9658cf
add example to push file to Perkeep
5 years ago
mpl
40f0436e6a
Be more verbose
5 years ago
mpl
2f40c3576f
godoc
5 years ago
mpl
07e75c0815
added timeout for authenticating
5 years ago
mpl
6fd468be34
make login a bit smarter
...
i.e. we do not just wait for N seconds and hope they have logged in, but
instead we regularly check what the location looks like to infer whether
they have logged in.
5 years ago
mpl
886b757cbc
refactored; funcs and session methods
5 years ago
mpl
a2e303781b
handle end of gallery properly
5 years ago
mpl
74c9cf9c02
better end navigation
5 years ago
mpl
2d5fdc4f0c
remove more crud
5 years ago
mpl
60794cf976
added run flag, for policy on downloaded file
...
also, now using URL suffix as dir name, instead of rand/temp one.
5 years ago
mpl
e76dc10cd9
simplified first nav
5 years ago
mpl
f4e7dac75e
better download progress algorithm
5 years ago
mpl
29e5c7216c
simplify jumping to last done
5 years ago
mpl
d3e2f47461
added start flag
...
improved dl algo, increased timeouts
5 years ago
mpl
b8a38d16da
fixed initial photo case
5 years ago
mpl
2a9b3a84a5
add sleeps to fix first jump to end
5 years ago
mpl
6a7c935af9
lastdone kinda works
...
but gotta go back to investigating jumping to the end, as it's not
completely reliable (i.e. we don't always jump perfectly to the end).
5 years ago
mpl
eb88c894e5
wip tracking most recent one we downloaded
...
and using that to skip all the ones we already have
5 years ago
mpl
c8ef120ae4
nav to oldest photo before downloading
5 years ago
mpl
b070953dd7
WIP nav to the end
5 years ago
mpl
913dbeb31f
0.1
...
First working prototype.
5 years ago
mpl
4f5c84331a
works in one run
...
But only with first nav, and next nav. need to generalize now.
5 years ago
mpl
9f9c1f4748
works with several runs
...
set same dl dir at each iteration,
and move file to other dir afterwards
5 years ago
mpl
ed55198ec4
wtf is going on
5 years ago
mpl
ab2802257c
confirmed that navigating again does not seem to help
5 years ago
mpl
1c266b7952
confirmed that changing dldir after first nav and/or dl does not work
...
So we probably need to at least navigate again, or do a Run for each
photo?
5 years ago
mpl
5c212326d5
wip
5 years ago
mpl
2c905fbc27
N nav right working
5 years ago
mpl
7be8a7b79e
wip multi download
5 years ago
mpl
05d8c7b8b7
Initial commit
5 years ago