Eltaurus-Lt / CourseDump2022

Google Chrome extension to download Memrise courses as csv files
97 stars 8 forks source link

Feature Request: download attributes as well #28

Closed miladklb closed 1 year ago

miladklb commented 1 year ago

Hello! Thanks for the awesome work you have done! I was wondering if it's possible to download attributes? It's not possible using turning EXTRA_INFO = true

Eltaurus-Lt commented 1 year ago

Thank you for the positive feedback! Could you please provide an example of a course with the data you want to download?

carloslab-ai commented 1 year ago

I think he is mentioning the attributes here:

image

I need the attributes too. Could you add it?

Eltaurus-Lt commented 1 year ago

Which course is this from? The ones I tested didn't have this field, so I need a link to see, where memrise stores this information.

carloslab-ai commented 1 year ago

this is the link of the course: https://app.memrise.com/course/686844/fluent-with-friends-s1e2/

Eltaurus-Lt commented 1 year ago

I've updated the script, so you can check out the new version.

The attributes are now stored in the same field as other extra data, and the download is controlled by the same extra_info setting. This is done so as not to overcomplicate the structure of csv files with too many different rarely-used fields. I expect the chance of a course having several types of extra data at the same time to be very low, but please feel free to notify me, if you encounter such a case and it causes you any problems.

Also note, that the settings (including the extra_info) are now accessed via a separate file. The details are in the readme: https://github.com/Eltaurus-Lt/CourseDump2022#settings

carloslab-ai commented 1 year ago

I've tried and it worked like a charm 😆

Thank you so much!