thorio / KGrabber

Userscript for extracting links from kissanime.ru and similar sites.
https://greasyfork.org/en/scripts/383649-kissgrabber
GNU General Public License v3.0
34 stars 12 forks source link

add a delay? #33

Closed stapuft closed 4 years ago

stapuft commented 4 years ago

Is your feature request related to a problem? Please describe. there is a mall incompatibility issue with MALsync where the automatic updating of episodes that have been watched isn't updated when using Kgrabber, I tried adding a delay to the script using "await KG.timeout(8);", but that didn't actually add a delay to the script

Describe the solution you'd like a way to add a delay, or a temporary pause, on the Kgrabber script inbetween grabbing episode links, or possibly on the final link (of the range I have chosen, so say I want episodes 1-4, the pause would happen on page 4), so that MALsync can detect that I have watched that episode, or at least the last episode (in the range I picked), so that I don't have to manually do so for each episode/series

Additional context Add any other context or screenshots about the feature request here. MAlsync-https://github.com/lolamtisch/MALSync

thorio commented 4 years ago

The argument for KG.timeout is in milliseconds, so 8 won't really do much. I've also commented on lolamtisch/MALSync#235.

stapuft commented 4 years ago

i feel stupid as fuck LOL no wonder I didn't notice anything LOL you rule man, thanks for the help.