Comments (7)
Brief explanation: mediator.jw.org returns JSON data which contain all info about the categories and videos. The script then downloads and parses the JSON file for each category (you see all the codenames in the output of the script).
A bash script is kind of a rough solution since there are languages, like Python, that support parsing JSON, but that's the only way I know!
from jw-scripts.
Ok solved it myself! I was not really looking at what was happening I was missing the dependency realpath
! I'm running this in a VM of Ubuntu so the solution was apt-get install realpath
yep that easy! :)
from jw-scripts.
Thanks for the feedback! I will add that as a dependency and add a note to the README.
And normally I wouldn't run it with sudo becasue that is an unnecessary risk, but I'm sure you already knew that
from jw-scripts.
How do you run this, a complete dump of the VOD main menu? Or individual Categories?
I started to write some code to download from the site and then stopped and just started to look for another solution today (this has been an ongoing problem for me) I was sick of downloading each one or streaming it. So my Plex is happy and I'm Happy! :) Thanks for this great software.
from jw-scripts.
Oh I meant how do you keep your own data as a Video On Demand main download of all at first, then run a cron job to update the total. Or do individual categories like Latest, VODChildren, VODTeenagers, and then update just those via cron jobs. I use plex so I want to download the actual files so I was going the route of the individual category to preserve the space, server load, and time. I have this running on my unRAID server so far I have it working on the main server and adding the files to the shares just beautifully. Can you use multiple --category=
in one command?
from jw-scripts.
No you cannot use multiple categories in a single command. You will have to run the command multiple times. But it's a good idea...
I would do a dump of the categories I want at first, and then run a cron job with --latest
. The latest videos will be from all categories though.
from jw-scripts.
Cool thanks! I got it running the way I want, I was hoping that the --latest did that!
from jw-scripts.
Related Issues (20)
- UnicodeEncodeError HOT 2
- is it posible to download songs in mp3 format HOT 2
- download experiences audio HOT 3
- Lyrics and lead sheets HOT 1
- JW Broadcasting video bug HOT 5
- Return watching HOT 5
- List languages HOT 3
- Checksums are very slow HOT 8
- possible to get the friendly name ? HOT 3
- Windows: link not working HOT 3
- All videos/media for meeting that week HOT 1
- TypeError on windows 10 HOT 4
- new approach HOT 1
- shuffle all the time HOT 4
- Improving streaming HOT 12
- Not an Issue: Just a windows example HOT 2
- Match subtitle names and add language code to filename HOT 13
- jw-scripts 2.0 survey (I want your brain) HOT 7
- Symlinks are not created correctly HOT 2
- issue with downloading 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 jw-scripts.