Git Product home page Git Product logo

kjhjason / cultured-downloader Goto Github PK

View Code? Open in Web Editor NEW
49.0 1.0 6.0 14.38 MB

A project to automate the process of downloading images and other attachment files from platforms like Fantia and more!

License: GNU General Public License v3.0

Go 28.18% NSIS 4.69% HTML 0.34% Svelte 34.99% JavaScript 3.62% CSS 1.14% TypeScript 27.04%
webscraping downloader pixiv-downloader pixiv fantia fantia-downloader fanbox-downloader golang wails-app kemono-downloader

cultured-downloader's Introduction

Cultured Downloader Logo
Cultured Downloader


Table of Contents/目次

English


Introduction

This program allows you to download files like images and attachment automatically without you doing the hassle of downloading them yourself from supported platforms like Fantia, Pixiv, and more!

I did this project as I was tired of downloading images manually as some artists do not provide zip files...

Hence, I coded this program to automate the process of downloading images from a post via web scraping.

In the end, I spent about a month doing developing the initial program in Python while learning concepts such as web scraping, async, threading, and more.

After learning Go/Golang however, I decided to rewrite the program in Golang with a GUI using wails with Svelte as the frontend framework.

Star History

Star History Chart

Running the Program

  1. Running the .go files

    • Clone this repository/Download all the files in this repository.
    • Install the lastest version of Golang
    • Run go run . in the root directory of this repository to run the program.
  2. Running the executable file

    • Download the latest Cultured Downloader executable file (.exe) from the releases page
    • Once downloaded, you can do an integrity check for security reasons by comparing the SHA256 hash of the downloaded executable file the hash provided in the release notes.
    • Finally, you can enjoy running the program!

Terms of Use

  1. This program, Cultured Downloader, is not liable for any damages caused. This program is meant for personal use and to save time downloading images from the various platforms manually.

  2. As a user of this program, please do not use this program to break any of the platform's Terms of Service/Terms of Use.

  3. As a user of this program, you must never share any data such as your cookie files to other people. This is not permissible as it may cause damages to the artists that you are downloading from. If you have been found to be sharing YOUR data or using OTHER people's data, this program and the developer(s) will not be liable for the damages caused but the user(s) involved will be.

  4. Users that are using this program MUST agree to the terms and conditions stated above. If you do not agree to the terms and conditions, you may not edit the code or use this program.

Features

*WIP

Usage Notes

  1. This program is meant for personal use and to save time downloading images from the various platforms manually. Please do not use this program and break any of the platform's Terms of Service/Terms of Use.

  2. If you feel unsafe entering your session cookie information to the program, you can proceed as a guest. However, you may be rate-limited or may not be able to download posts that requires a membership.

  3. Sensitive data like your session cookie can be encrypted at rest by providing a master password. However, please do not share any data with anyone as they may still be able to decrypt the encrypted sensitive files if you have shared your master password.

  4. If the platform's frontend design or API has been changed, you can expect this program to break if it is not maintained/updated. In this case, please raise an issue and I will take it a look at it and hopefully fix it as soon as possible.

FAQ

*WIP

  1. Does this work on other OS platforms such as macOS and Linux?
    • This program has only been tested on Windows and Linux (Ubuntu). However, it should work on other Linux distros and macOS as well.

Final Notes

  1. Please remember that this was meant to be a mini-project which is meant to be used for personal use.
  2. I am still an amateur in programming so if there is a bug, you can raise an issue and I will do my best to fix it. Otherwise, you can fork this repository and make a pull request to fix the bug if you would like to do so.
  3. If you would like to improve on this program, you can fork this repository and do the necessary changes and make a pull request. I will then review it and merge it I feel that it is a good contribution.
  4. Though, I may or may not maintain this program depending on the workload I have as a student.

Demo

*WIP

Menu

menu demo

Downloading files from a post page URL

downloading posts demo

Downloading files from multiple posts from multiple creators

downloading multiple posts demo


お知らせ

*WIP 残念ながら、翻訳するとしたら、ほとんどDeepLを使うことになるので、日本語のサポートは外しました。

ただし、このプログラムを翻訳したい方は、リポジトリへのコントリビューションを歓迎します。

cultured-downloader's People

Contributors

dependabot[bot] avatar kjhjason avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cultured-downloader's Issues

[Bug]: Uncaught ValueError

Which program are you seeing this problem on?

Cultured Downloader (exe)

Program Version

v4.2.3

Steps to reproduce the bug

  1. Initiate the executable (exe).
  2. Answer the download directory question and proceed as usual.
  3. You are then prompted to exit instead of loading the full menu.
  4. Error code appears after pressing ENTER to quit.

Expected behaviour

Error Code presented :

Uncaught ValueError
Please provide the developer with the error log generated at
C:\Users"USERNAME"\AppData\Roaming\Cultured-Downloader\logs\cultured-downloader_v4.2.3_2023-07-26.log
Please press ENTER to shutdown the program...

Could the following text that appears in the logs added below be of help :

ValueError: There is no such driver by url
https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

Relevant log output (If any)


2023-07-26 13:37:42,659 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

2023-07-26 13:38:06,734 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

2023-07-26 13:48:37,571 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

2023-07-26 13:53:43,279 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

2023-07-26 13:53:56,908 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

2023-07-26 15:00:35,490 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_win32.zip

Screenshots (Optional)

No response

[Bug]: Can't log in due to chrome not recognizing the browser the script prompted

Which program are you seeing this problem on?

Cultured Downloader (exe)

Program Version

latest

Steps to reproduce the bug

there are none, I just did what was told and I can't log in to neither fantia or fanbox

Expected behaviour

I expected for things to go down smoothly but I guess that's was too much to hope for.

Relevant log output (If any)

No response

Screenshots (Optional)

No response

[Bug]: Can't download pixiv fanbox

Which program are you seeing this problem on?

Cultured Downloader (py)

Program Version

4.2.1

Steps to reproduce the bug

Capture

Expected behaviour

I don't know why the link is invalid

Relevant log output (If any)

No response

Screenshots (Optional)

Capture

[Bug]: webdriver_manager initialise error

Which program are you seeing this problem on?

Cultured Downloader (exe)

Program Version

4.2.3

Steps to reproduce the bug

  1. Open the executable
  2. Set my folder
  3. The webdriver instance initializes
  4. Then it skips to asking me to "press enter" to quit
  5. Doing that makes it say:
    Uncaught ValueError
    Please provide the developer with the error log generated at
    C:\Users****\AppData\Roaming\Cultured-Downloader\logs\cultured-downloader_v4.2.3_2024-04-10.log

Expected behaviour

Well this is my first time trying to use it but I was hoping it'd work lol. Opening it again also didn't work either.

Relevant log output (If any)


2024-04-10 11:52:25,996 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught UnboundLocalError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 148, in get_driver
UnboundLocalError: cannot access local variable 'driver' where it is not associated with a value

2024-04-10 11:52:52,236 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/123.0.6312/chromedriver_win32.zip

2024-04-10 11:53:40,625 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/123.0.6312/chromedriver_win32.zip

2024-04-10 11:55:18,141 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/123.0.6312/chromedriver_win32.zip

2024-04-10 11:58:36,154 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/123.0.6312/chromedriver_win32.zip

2024-04-10 12:01:35,923 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught ValueError

Traceback (most recent call last):
File "cultured_downloader.py", line 540, in
File "cultured_downloader.py", line 468, in main
File "cultured_downloader.py", line 462, in initialise
File "utils\spinner.py", line 227, in wrapper
File "utils\web_driver.py", line 110, in get_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/123.0.6312/chromedriver_win32.zip

Screenshots (Optional)

No response

[Bug]: Error while starting up webdriver

Which program are you seeing this problem on?

Cultured Downloader (exe), Cultured Downloader (py)

Program Version

v4.2.3

Steps to reproduce the bug

  1. Launch program from launcher.py, cultured_downloader.py, or the executable file
  2. Continue with or without changing path
  3. Error occurs: TypeError: ChromeDriverManager.init() got an unexpected keyword argument 'path'

Expected behaviour

The webdriver should have been created without error

Relevant log output (If any)

2023-09-23 17:01:15,161 [Cultured Downloader V4.2.3] [ERROR]:
Uncaught TypeError

Traceback (most recent call last):
File "c:\Users\me\Documents\Cultured-Downloader-python-release\src\launcher.py", line 165, in
cultured_downloader_main()
File "c:\Users\me\Documents\Cultured-Downloader-python-release\src\cultured_downloader.py", line 468, in main
initialise()
File "c:\Users\me\Documents\Cultured-Downloader-python-release\src\cultured_downloader.py", line 462, in initialise
with get_driver(download_path=configs.download_directory) as driver:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\me\Documents\Cultured-Downloader-python-release\src\utils\spinner.py", line 227, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\me\Documents\Cultured-Downloader-python-release\src\utils\web_driver.py", line 108, in get_driver
driver_path = ChromeDriverManager(
^^^^^^^^^^^^^^^^^^^^
TypeError: ChromeDriverManager.init() got an unexpected keyword argument 'path'

Screenshots (Optional)

No response

[Bug]: Unable to download all Pixiv Fanbox posts from a creator

Which program are you seeing this problem on?

Cultured Downloader (py)

Program Version

4.2.1

Steps to reproduce the bug

  1. run launcher.py and log in
  2. select pixiv fanbox option
  3. select Download all pixiv Fanbox posts from a creator(s)
  4. input all url and pages

The program only picks up 0-10 posts out of all the posts in the page range. These downloadable posts include membership posts and are not just the free member posts. It used to pick up all posts, but stopped suddenly.

Expected behaviour

Expected to have the Download all pixiv Fanbox posts from a creator(s) option identify all posts in the page range provided instead of just a few.

Individually downloading each post with their own urls from the Download images from pixiv Fanbox post(s) option works as expected.

Relevant log output (If any)

No response

Screenshots (Optional)

No response

[Bug]: Fantia downloads failed

Which program are you seeing this problem on?

Cultured Downloader (exe)

Program Version

4.2.1

Steps to reproduce the bug

  1. choose 1. Download Fantia Posts
  2. choose 1. Download images from Fantia post(s)
  3. Enter URL(s) (X to cancel): https://fantia.jp/posts/1704263

Do you wish to download from these URLs? (Y/n): y
Download images? (Y/n/x to cancel): y
Download thumbnail? (Y/n/x to cancel): y
Download attachments? (Y/n/x to cancel): y

Expected behaviour

the post should have been downloaded

Relevant log output (If any)

the log says:
Failed to get the details of 'https://fantia.jp/posts/1704263' after 4 requests.

Screenshots (Optional)

No response

[Bug]: Downloading all Fantia Posts from one creator results in 403

Which program are you seeing this problem on?

Cultured Downloader (exe), Cultured Downloader (py)

Program Version

4.2.2

Steps to reproduce the bug

  1. Go to "Download all Fantia posts from creator(s)" section
  2. Put in link for creator and select multiple pages (ie. 1-12)
  3. Enter Y for Download Images, thumbnail and attachments
  4. Start downloading

Expected behaviour

All images/attachments/thumbnails from all pages entered should be downloaded.

Relevant log output (If any)

----------------------------------------------------------------------------------------------------
2023-03-12 10:05:46,513 [Cultured Downloader V4.2.2] [ERROR]: 
Uncaught TypeError
----------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "utils\download.py", line 95, in async_download_file
  File "httpx\_models.py", line 749, in raise_for_status
httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://cc.fantia.jp/uploads/post_content_photo/file/8723128/9c63c89f-9c09-41de-b86f-c02ca249c65c.jpg?Key-Pair-Id=APKAIOCKYZS7WKBB6G7A&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jYy5mYW50aWEuanAvdXBsb2Fkcy9wb3N0X2NvbnRlbnRfcGhvdG8vZmlsZS84NzIzMTI4LzljNjNjODlmLTljMDktNDFkZS1iODZmLWMwMmNhMjQ5YzY1Yy5qcGciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg1NzUyNDV9fX1dfQ__&Signature=dxXDCPVukZMbq3YerrxpGYmreBPu1lmSlEDgtyqIg8NI0JOtKdApmiABLvtqVDFL54TKsMmNoe8k1th-cMvlXV0RHn9mdDwUSSrQXw4fnUdHb243XUuJwBNKrNVab4WQFFKO0L7PT7mu0lEKC9U6sUljO63jcUiY3pCvkuQV2i1FbgMvp5ZKHPoQqgCpBn7JQ5kUYsZ1FfE~Qx0QYMfE0vDLZvkIFFn~toykcExGykrIhqixnroNjPGNlaTcNNCrALpyQWSUttgcUPw7EN1V802JQOSmpb1kO2UJ7japjbBN-7h8v-3hbLCccN8tQqY10IXpDVK8kA6U1Kh9oc~sgw__'
For more information check: https://httpstatuses.com/403

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cultured_downloader.py", line 540, in <module>
  File "cultured_downloader.py", line 468, in main
  File "cultured_downloader.py", line 463, in initialise
  File "cultured_downloader.py", line 215, in main_program
  File "cultured_downloader.py", line 195, in nested_menu
  File "cultured_downloader.py", line 164, in download_process
  File "asyncio\runners.py", line 190, in run
  File "asyncio\runners.py", line 118, in run
  File "asyncio\base_events.py", line 653, in run_until_complete
  File "utils\web_driver.py", line 687, in execute_download_process
  File "utils\functional.py", line 1011, in check_download_tasks
  File "utils\functional.py", line 983, in call_async_result
  File "utils\download.py", line 107, in async_download_file
  File "concurrent\futures\thread.py", line 58, in run
  File "<frozen genericpath>", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

It downloads the first page or so correctly, but once it hits the 403, it stops downloading anything else and closes.

Screenshots (Optional)

No response

[Bug]: (Photos' names out of order)

Which program are you seeing this problem on?

Cultured Downloader (py)

Program Version

4.2.3

Steps to reproduce the bug

  1. Trying to download all posts from an artist

Expected behaviour

Ordered photos in the downloaded folders

Relevant log output (If any)

I see unordered names like
""I:\FTP\Master18[1450215] 2022 8 29\4f347288-0128-42b5-97a1-078f6ef55188.png"

and ""I:\FTP\Master18[1450215] 2022 8 29\4d5920b6-2b32-43cb-9431-81a50ded02f3.png""

Screenshots (Optional)

No response

[Bug]: Failed to initialise webdriver

Which program are you seeing this problem on?

Cultured Downloader (py)

Program Version

4.2.3

Steps to reproduce the bug

  1. run cultured_downloader.py,

Expected behaviour

When I run cultured_downloader.py, I will report such an error, but I have it locally chrome, and the installation location isC:\Program
Files\Google\Chrome\Application

Relevant log output (If any)

Initialising a new webdriver instance...
Failed to initialise a Chrome webdriver instance.
Please check if you have Google Chrome browser installed on your computer.
Google Chrome browser download link: https://www.google.com/chrome/

----------------------------------------------------------------------------------------------------
2023-03-28 15:55:56,963 [Cultured Downloader V4.2.3] [ERROR]: 
Uncaught UnboundLocalError
----------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\python program\Cultured-Downloader\src\cultured_downloader.py", line 544, in <module>
    main()
  File "D:\python program\Cultured-Downloader\src\cultured_downloader.py", line 472, in main
    initialise()
  File "D:\python program\Cultured-Downloader\src\cultured_downloader.py", line 466, in initialise
    with get_driver(download_path=configs.download_directory) as driver:
  File "D:\python program\Cultured-Downloader\src\utils\spinner.py", line 227, in wrapper
    return func(*args, **kwargs)
  File "D:\python program\Cultured-Downloader\src\utils\web_driver.py", line 148, in get_driver
    driver.set_window_size(*window_size)
UnboundLocalError: local variable 'driver' referenced before assignment

Screenshots (Optional)

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.