Closed struphic closed 1 year ago
having a similar issue. Console output when using the cache from the latest release's wco.zip is:
[18:12] Found cache series. Using that data instead.
[18:13] VideoDownloader error: Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
[18:13] Build info: version: '4.3.0', revision: 'a4995e2c09*'
[18:13] System info: host: 'DESKTOP-6OLFRBS', ip: '192.168.1.165', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_351'
[18:13] Driver info: org.openqa.selenium.firefox.FirefoxDriver
[18:13] Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:debuggerAddress: true, moz:firefoxOptions: {args: [-headless], profile: UEsDBBQACAgIAKmRdFUAAAAAAAA...}, pageLoadStrategy: eager}], desiredCapabilities=Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:debuggerAddress: true, moz:firefoxOptions: {args: [-headless], profile: UEsDBBQACAgIAKmRdFUAAAAAAAA...}, pageLoadStrategy: eager}}]
[18:13] VideoDownloader error: Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
[18:13] Build info: version: '4.3.0', revision: 'a4995e2c09*'
[18:13] System info: host: 'DESKTOP-6OLFRBS', ip: '192.168.1.165', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_351'
[18:13] Driver info: org.openqa.selenium.firefox.FirefoxDriver
[18:13] Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:debuggerAddress: true, moz:firefoxOptions: {args: [-headless], profile: UEsDBBQACAgIAKmRdFUAAAAAAAA...}, pageLoadStrategy: eager}], desiredCapabilities=Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:debuggerAddress: true, moz:firefoxOptions: {args: [-headless], profile: UEsDBBQACAgIAKmRdFUAAAAAAAA...}, pageLoadStrategy: eager}}]
[18:13] Gracefully shutdown. No downloads have been made.
and after clearing the cached files and launching again, this is the result:
I am aware of the issue. I believe it is cloudflare causing this. Sometimes wco heightens cloudflares security and there is no an easy bypass I am aware of. I do have a trick or 2 i could add though. I will test it out soon. Firefox wasn't originally tested, but I did test it now. It works as expected except the frame issue is universal.
Don't mess with the anything the webdrivermanager creates because that will break it. The cache from the database folder has nothing to do with these issues. You can leave them alone.
I also noticed a couple bugs when trying to download from an episode url. I will be addressing these issues soon.
If you have any other problems, please let me know.
Ok i have fixed this issue. All is working fine. I will release it later today
BUT just because its working now doesn't mean it will always work. I will keep this issue open for now just in case.
Reporting that using Firefox in settings still returns the same error in my previous comment. I'll try download Chrome on this system and see if it continues.
Update: Chrome appears to work, though a silent crash occurs after letting the program create caches itself (program poofs with no error after the 4th category or so). Sanitized error log attached (removed some personal info from file paths/folder names). I suspect the program is still trying to use Chrome related features/functions/whatever with non-chrome browsers or extensions like ad blockers/NoScript may be interfering.
hs_err_pid18944 - sanitized.log
Re-launching the program afterwards works as intended (?) but mini-crashes after downloading the series header image (a minor error occurs when pulling series links as if the cache hasn't been updated/re-loaded in memory after updates are written to its files). Another re-launch returns normal behavior.
Firefox works for me and i tested every browser i could except chromium & safari. I am using windows 10 as well. While it does technically use your installed browser, it's a fresh environment with no extensions unless it's native to the browser. It does look like an issue with object box and its still most likely folder permission issues possibly due to an anti virus. I honestly would not know but i will look into it and see what i can catch. If the cache doesn't work then everything will break, but i do believe i can work around some issues. This can take awhile so i hope you can use it to some compacity for now.
Windows 10 is also super picky about changes to certain folders/settings and I have a lot of features forcibly locked down from trying to remove as many of Microsoft's potential spyware features as possible, so that's not out of the question either. About the third "turn it off and on again" fix, I got the network permissions prompt, so that may have contributed earlier - but yeah with Chrome and manually moving files to the intended location (the issue in #2) I'm able to get what I need done. There was just one series I wanted an archive of with literally 1000+ episodes and I doubt it would have fit in my remaining ~30 GB of space on my smaller drive without dragging the completed episodes over to the bigger drive periodically.
If this keeps happening then open another issue.
This is a really awesome project, I'd love to use it. I keep getting this message in my console: Error waiting for frame video to load for https://www.wcofun.net/(whatever page)
I even tried the link you provided for https://www.wcofun.net/to-love-ru - That is the only one I got a file to download (episode 1), and then the rest is: 19:01] Found cache series. Using that data instead. [19:02] Downloading: To LOVE-Ru Episode 1 English Dubbed [19:03] Successfully downloaded: To LOVE-Ru Episode 1 English Dubbed [19:03] Error waiting for frame video to load for https://www.wcofun.net/to-love-ru-episode-3-english-dubbed. Retrying... [19:03] Error waiting for frame video to load for https://www.wcofun.net/to-love-ru-episode-2-english-dubbed. Retrying...
And it retries until [19:12] Gracefully shutdown. No downloads have been made.
I can provide whatever other logs or data you want, not sure what you need. Using a current version of Firefox, Java 8, etc. I'd think I have some setting wrong, but that one file did successfully download.