Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

Releases: sortedcord/udemyscraper

v0.8.2

02 Oct 14:31

Choose a tag to compare

v0.8.2 Pre-release
Pre-release

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

29 Aug 08:02
0b59d35

Choose a tag to compare

v0.8.1 Pre-release
Pre-release

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_csv takes an array as an input and dumps each course to a single csv file.
  • Udemyscraper can now export courses to xml files!

  • course_to_xml is function that can be used to export the course object to an xml file with the appropriate tags and format.
  • udemyscraper.export submodule 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 library
    • metadata.py - Contains metadata of the package such as the name, version, author, etc. Used by setup.py
    • output.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_display function has been replaced with print_course function.
  • Now using setup.py instead of setup.cfg

  • Deleted src folder which is now replaced by udemyscraper folder 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_preference key in Preferences dictionary to browser

  • Relocated browser determination to utils as set_browser function.

  • Removed requirements.txt and pyproject.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 browser key error