Code Monkey home page Code Monkey logo

oyez's Introduction

OYEZ

时间

2017-5-26

目的

获取oyez所有年份的字幕文件,对应的音频和切割音频的时间点

oyez一个美国案列的网站, 里面有案列视频和字幕

实现

1.getTermsByYear来获取每年的数据 2.getDetails获取每一个的详情 3.getTxtAudio 获取最终需要的txt,音频等

依次执行,一个获取完再获取两外一个

数据

json 放置音频的详细信息(包括字幕, 切割音频的信息) mp3 放置音频 txt 放置字幕文件 mp3.list 存放数据的音频下载地址

下载

下载音频利用下载工具(迅雷,BitComet,电驴等)批量下载data下的mp3.list文件

FAQ

  1. 部分带两个音频的数据只取了第一个
  2. 网站原始数据部分有音频没有字幕
  3. 2016年的txt和json数据获取分别存储到一个文件中了,音频正常
  4. 由于所有的写文件都是追加的方式,每次执行都是追加到原来的文件上,因此重新获取清除data terms details下面的文件,但不是文件目录

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.