ReVanced / restore-missing-youtube-watch-history

⌛ Script to import missing YouTube watch history
https://revanced.app
GNU General Public License v3.0
58 stars 6 forks source link

feat: Improve shorts remove key and using tqdm for progress #12

Open indrastorms opened 7 months ago

indrastorms commented 7 months ago

Removing already marked watched beforehand can increase the perf. Changing "#short" to "short" because some title has #ytshorts

oSumAtrIX commented 7 months ago

@alexandreteles I am not sure if opening a file handle everytime is done correctly here.

alexandreteles commented 7 months ago

@alexandreteles I am not sure if opening a file handle everytime is done correctly here.

The async file handler deals with that. We could also open a single handler and share between the workers but that will require writing extra logic which aiofiles already implements.

indrastorms commented 7 months ago

Please update the requirement file with tqdm. I don't have poetry installed 😅

alexandreteles commented 7 months ago

Please update the requirement file with tqdm. I don't have poetry installed 😅

I will first merge the other changes and then investigate this one again.