Closed hoz-efa closed 2 months ago
@hoz-efa That looks great! Could you also please update requirements.txt with the version python and libraries that you're using? I am trying to clone the environment on my computer to contribute, but the latest versions of PySimpleGUI are paid, and I am getting errors simply starting the GUI. Would really appreciate a response. Thank you!
Bro, seriously I have no idea about GUI. I didn't try to run it once cause I only prefer the CLI version more often, and for PySimpleGUI, you can register yourself as a "Hobbyist" and get the developer key and can use it for a year... check it out here
These are the versions of my libraries from the requirements:
cloudscraper 1.2.71
colorama 0.4.6
html5lib 1.1
requests 2.31.0
requests-file 2.0.0
requests-toolbelt 1.0.0
tqdm 4.66.4
You can check and verify your versions with the above by running this command in PowerShell:
pip list | findstr /R "bs4 requests html5lib cloudscraper pyopenssl browser_cookie3 colorama tqdm"
@hoz-efa That looks great! Could you also please update requirements.txt with the version python and libraries that you're using? I am trying to clone the environment on my computer to contribute, but the latest versions of PySimpleGUI are paid, and I am getting errors simply starting the GUI. Would really appreciate a response. Thank you!
Bro, seriously I have no idea about GUI. I didn't try to run it once cause I only prefer the CLI version more often, and for PySimpleGUI, you can register yourself as a "Hobbyist" and get the developer key and can use it for a year... check it out here
These are the versions of my libraries from the requirements:
cloudscraper 1.2.71 colorama 0.4.6 html5lib 1.1 requests 2.31.0 requests-file 2.0.0 requests-toolbelt 1.0.0 tqdm 4.66.4
You can check and verify your versions with the above by running this command in PowerShell:
pip list | findstr /R "bs4 requests html5lib cloudscraper pyopenssl browser_cookie3 colorama tqdm"
Thanks a lot mate, I too am happy to work with the CLI. What version of python are you running, I can target using pyenv? Thanks again!
Here are the details of the changes:
s
was causing an error withcloudscraper.create_scraper(sess=s)
.The script is now functioning correctly.
However, there are a couple of minor issues that need attention:
The script sometimes keeps retrying. I have attached a screenshot of this behavior for reference.![Screenshot (5)](https://github.com/techtanic/Discounted-Udemy-Course-Enroller/assets/136026095/c75f27e6-2bed-4df8-9dbc-fd15d07790eb)
The
tqdm
progress bar is slightly glitchy, repeating the name of the website. Despite this, the backend operations work perfectly, so this issue is only with the display of the progress bar.Note: I have only tested these changes with the CLI version and have not verified them with the GUI version.
Please review these changes and let me know if any further modifications are needed.