Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A more robust way to retrieve course names (currently fallback to [[UNTITLED]]) #42

Open
kcanares opened this issue Jul 28, 2021 · 3 comments

Comments

@kcanares
Copy link

Downloads are successful but course names are always untitled. I am downloading lectures from UniMelb's echo360. Not really a big deal but it'd be nice if we have the option to name the course if it's too difficult to scrape the right course name

=================================================================
    Course: [[UNTITLED]]
=================================================================
    Successfully downloaded:
        2021-07-26 - Lecture 1 [Lecture 1 - Introduction]
        2021-07-27 - Lecture 2 [Lecture 2 - A flavor of Haskell]
=================================================================
@soraxas
Copy link
Owner

soraxas commented Jul 29, 2021

It used to works before but when the schema changes the previous method failed to extract the name (and fallback to UNTITLED). Would you be able to provide the debug log with the --debug flag where it contains information that you need for information extraction? Or a PR is welcome too if you don't want to post your information (and since you too are a developer:))

@kcanares
Copy link
Author

Yeah sorry should've uploaded a debug log in my initial post.
debug_log.txt

Thanks for this project btw - it's very useful!

@soraxas
Copy link
Owner

soraxas commented Sep 3, 2021

Hi @kcanares thanks for the log. From what I can see from the log file, the course home page did not response any course name at all (which is why the program wasn't able to extract any). It did reponsed with a field sectionId that looks like is a uuid of the course 944407f6-007f-4f18-ba66-187bbf396d12.

I'm guessing it is possible to retrieve the actual course name from the uuid with some request, but I do not have the means to work on it. If anyone have basic knowledge on coding and have the means to access such a page, it would be great to have a PR on it.

@soraxas soraxas changed the title [[UNTITLED]] course names A more robust way to retrieve course names (currently fallback to [[UNTITLED]]) Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants