Git Product home page Git Product logo

Comments (4)

garret1317 avatar garret1317 commented on July 17, 2024

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.

garret1317 avatar garret1317 commented on July 17, 2024

@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.

un-nerv avatar un-nerv commented on July 17, 2024

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. ↓

yt-dlp https://radiko.jp/#!/search/live?key=%20&filter=&start_day=&end_day=&region_id=all&area_id=JP13&cul_area_id=JP13&page_idx=0

when downloading-webpages-seequence reached to 200, yt-dlp stopped downloading pages.
Is this problem of plugin or yt-dlp?

from yt-dlp-rajiko.

garret1317 avatar garret1317 commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.