Comments (4)
you don't
the extractor downloads a list of all the stations, and their associated region code
then when you want to download something, it finds the station in that list, and uses gps coordinates corresponding to that region code to authenticate/get the token
so all you have to do is give an url to download
つまり、URLだけで大丈夫です
if you want, you can change the regions it uses by editing the cached data
on my linux machine it's in ~/.cache/yt-dlp/rajiko/region_index.json
, but i'm afraid i'm not sure where it would be on windows - this bit from the yt-dlp readme might help
but there's no way to specify a region yourself from the command line
from yt-dlp-rajiko.
@un-nerv did this answer your question? please let me know so i can close this issue or try to help you further
from yt-dlp-rajiko.
Sory for my late reply.
Finally I can download geo_blocked programs from radiko by using this amazing tool.
Thank you for your advise!!
By the way i faced another problem.
I entered this to terminal. ↓
when downloading-webpages-seequence reached to 200, yt-dlp stopped downloading pages.
Is this problem of plugin or yt-dlp?
from yt-dlp-rajiko.
np, you're welcome
re: your other question, it looks like a radiko issue
50 items in each (plugin) page, maxes out at 200 pages
200x50 = 10000
so it maxes out at 10k items
12 items in each page on the site
10000/12 = 833.333333333
and see how page 833 works, but page 834 doesn't
either way, please don't do that, it'll absolutely hammer radiko's servers (and maybe get you banned or the plugin noticed)
and if it works then you'll be downloading ~30gb per week, per station (~30tb/week total)
which i assume is not what you want
the plugin's not designed for big industrial-scale scrapers, if you really want to run one of those then you should write your own code for it that uses the APIs more efficiently
from yt-dlp-rajiko.
Related Issues (20)
- question dump (why are things the way they are)
- switch to v8 auth HOT 2
- station button embeds
- share embeds HOT 4
- chapters with played songs HOT 5
- law-abiding citizen mode HOT 6
- gRPC APIs HOT 4
- law-abiding citizen mode: premium account support HOT 1
- package/load v8 key properly HOT 1
- unified time handling might be a good idea HOT 5
- (mobile) programme support HOT 3
- paginate search HOT 1
- auth fails on newer yt-dlp! HOT 1
- don't download from stations w/ no timefree (nhk) HOT 3
- maybe cache station details? HOT 2
- extractor arg: stream device HOT 2
- mark as-live streams as such HOT 1
- decouple device spoofing from main extractor HOT 3
- cache formats? 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 yt-dlp-rajiko.