Open sameerasw opened 11 months ago
I'm not sure what exactly is causing this. I've pushed a change to log more debug information (in the console) when there's an error. Also made the regex slightly stricter. The web version should be automatically updated to have this, so if you could try this again and the it still errors, could you share the output from the console - would be really helpful in figuring out what's causing the error
I'm not sure what exactly is causing this. I've pushed a change to log more debug information (in the console) when there's an error. Also made the regex slightly stricter. The web version should be automatically updated to have this, so if you could try this again and the it still errors, could you share the output from the console - would be really helpful in figuring out what's causing the error
This time I got a better console log but not sure if it still helps...
And the json format works with no issues so my guess is something with parsing.... I have watched a lot of YouTube so could it be because it's a large file to read?
I have the exact same problem. I get the same console output, but i can open the html file by myself and see my watched videos as described above.
Looks like FileReader just returns empty string if the file is too large. There's a couple suggested fixes here https://stackoverflow.com/questions/25810051/filereader-api-on-big-files
When explicitly asking for a json file instead of html when exporting from google it works fine btw.
Invalid watch-history.html. No videos found.
Even having the html file with video entries.
Tested on Web as well as on Windows as well but same output.
Much love for this project <3 This is my second year!