This repository was archived by the owner on May 17, 2022. It is now read-only.
Releases: sortedcord/udemyscraper
Releases · sortedcord/udemyscraper
v0.8.2
Changes
- Renamed repository to udemyscraper.
Added
- Tests for module, exporting and scripts.
- Added bulk export of courses with script.
Bug Fixes
- Exporting to xml always defaults to course.xml filename.
- 'TypeError': 'module' object is not callable
v0.8.1
The long awaited (atleast by me) distribution update for udemyscraper. Find this project on PyPI - https://pypi.org/project/udemyscraper/
Added
-
Udemyscraper can now export multiple courses to csv files!
course_to_csvtakes an array as an input and dumps each course to a single csv file.-
Udemyscraper can now export courses to xml files!
course_to_xmlis function that can be used to export the course object to an xml file with the appropriate tags and format.udemyscraper.exportsubmodule for exporting scraped course.- Support for Microsoft Edge (Chromium Based) browser.
- Support for Brave Browser.
Changes
-
Udemyscraper.py has been refractured into 5 different files:
__init__.py- Contains the code which will run when imported as a librarymetadata.py- Contains metadata of the package such as the name, version, author, etc. Used by setup.pyoutput.py- Contains functions for outputting the course information.udscraperscript.py-Is the script file which will run when you want to use udemyscraper as a script.utils.py- Contains utility related functions for udemyscraper.
-
Now using udemyscraper.export instead of udemyscraper.output.
quick_displayfunction has been replaced withprint_coursefunction.
-
Now using
setup.pyinstead ofsetup.cfg -
Deleted
srcfolder which is now replaced byudemyscraperfolder which is the source directory for all the modules -
Installation Process
Since udemyscraper is now to be used as a package, it is obvious that the installation process has also had major changes.
Installation process is documented here
-
Renamed the
browser_preferencekey in Preferences dictionary tobrowser -
Relocated browser determination to
utilsasset_browserfunction. -
Removed
requirements.txtandpyproject.toml
Fixed
- Fixed cache argument bug.
- Fixed importing preferences bug.
- Fixed Banner Image scraping.
- Fixed Progressbar exception handling.
- Fixed recognition of chrome as a valid browser.
- Preferences will not be printed while using the script.
- Fixed
browserkey error