Closed autoantwort closed 3 years ago
Could you check if it works now? https://github.com/Romern/syncMyMoodle/commit/9e6691512965fea537c90d50a2a68be863cc5172
Unfortunately not. It still only downloads the playlist file:
Downloading files...
Downloading /Users/leanderSchulten/RWTH/Moodle/21ss/DIS2/Lecture Material/playlist [Linked file]
11.0kiB [00:00, 2.97MiB/s]
The section data is:
Both links with the xxxxxxx
inside redirects to the playlist
I think I fixed the issue in https://github.com/Romern/syncMyMoodle/commit/6521d7ec669a44981bcb51ca5b5789e9ccc79bb9
Unfortunately the same result
Output:
Downloading files...
Downloading /Users/leanderSchulten/RWTH/Moodle/21ss/DIS2/Lecture Material/playlist [Linked file [application/binary]]
11.0kiB [00:00, 5.39MiB/s]
The problem was that youtube playlist links would return the wrong content-type when using HEAD request, so I wrote a workaround for it: https://github.com/Romern/syncMyMoodle/commit/f5ca5e94d7b027bcb1dd79f34e803031d6a4710c . This should fix the issue (worked for the playlist I had in our testroom).
Yeah that works 👍 , than I can close my PR #44
I don't know if that is possible, but it would be cool if syncMyMoodle downloads the videos of a playlist and not just the playlist file. Eg in the DIS2 course they only put a link to the youtube playlist in the Moodle room.