Comments (7)
Could you check if it works now? 9e66915
from syncmymoodle.
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:
Click to expand
------SECTION-DATA------
{
"id": 133036,
"name": "Lecture Material",
"visible": 1,
"summary": "",
"summaryformat": 1,
"section": 1,
"hiddenbynumsections": 0,
"uservisible": true,
"modules": [
{
"id": 550569,
"url": "https://moodle.rwth-aachen.de/mod/url/view.php?id=xxxxxxx",
"name": "Lecture Videos",
"instance": 40344,
"visible": 1,
"uservisible": true,
"visibleoncoursepage": 1,
"modicon": "https://moodle.rwth-aachen.de/theme/image.php/boost_campus_rwth/url/1620192730/icon",
"modname": "url",
"modplural": "Links/URLs",
"indent": 0,
"onclick": "",
"afterlink": null,
"customdata": "\"\"",
"noviewlink": false,
"completion": 0,
"contents": [
{
"type": "url",
"filename": "Lecture Videos",
"filepath": null,
"filesize": 0,
"fileurl": "https://www.youtube.com/playlist?list=xxxxxxx",
"timecreated": null,
"timemodified": 1617792262,
"sortorder": null,
"userid": null,
"author": null,
"license": null
}
],
"contentsinfo": {
"filescount": 1,
"filessize": 0,
"lastmodified": 1617792262,
"mimetypes": [],
"repositorytype": ""
}
}
]
}
Both links with the xxxxxxx
inside redirects to the playlist
from syncmymoodle.
I think I fixed the issue in 6521d7e
from syncmymoodle.
Unfortunately the same result
from syncmymoodle.
Output:
Downloading files...
Downloading /Users/leanderSchulten/RWTH/Moodle/21ss/DIS2/Lecture Material/playlist [Linked file [application/binary]]
11.0kiB [00:00, 5.39MiB/s]
from syncmymoodle.
The problem was that youtube playlist links would return the wrong content-type when using HEAD request, so I wrote a workaround for it: f5ca5e9 . This should fix the issue (worked for the playlist I had in our testroom).
from syncmymoodle.
Yeah that works
from syncmymoodle.
Related Issues (20)
- EOFError: Ran out of input HOT 6
- Stop using exit() HOT 1
- AttributeError: 'NoneType' object has no attribute 'split' HOT 3
- Potential Bug: Failed to find custom_id on lti page HOT 2
- Is it possible to skip certain links?
- PDF files damaged HOT 6
- Compare moodle `timemodified` with timestamp of local files
- Codec error HOT 4
- mod_folder get flattened
- Extern missing file throws SSL Error HOT 1
- Nested tqdm during sync HOT 1
- EOFError: Ran out of input HOT 4
- Failed to find custom_id on lti page HOT 2
- Secret-Storage-Collection is only unlocked if entry exists
- Greetings from Moodle-dl HOT 1
- engage.streaming.rwth-aachen.de iframes in assignment intro aren't downloaded HOT 3
- whl package does not include an executable HOT 4
- Downloaded directories show `amp;` instead of `&` HOT 1
- Split __main__.py across different files HOT 2
- Opencast file download stops midway HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncmymoodle.