Giter Club home page Giter Club logo

niconico-video-downloader's Issues

Write a wrapper class of NicoDriver

As indecate in title, we need a warpper class that can manage the driver, and move login(), setup() and reset() functionality into this class. Afterward, replace all driver attributes in each classes with this warpper.

Niconico website update

Niconico has completely updated its favorite list websites, probably all elements are changed.
Code that related to reading favourite list need to be updated correspondingly.

Refactor Project - use a config file to store all constant global variables

should use the common configuration library.
when maven generates resource runs, the following happens:

  • run a java class that writes selenium driver path into the system_config.property file

when the main project runs:

  • let a static block run to setup selenium system property
  • everytime project use getXXX() function to get a constant variable
  • getXXX():
    • First check if the constant variable has been created, if yes, return it
    • if not, use common configuration code to read variables from system_config.property file and save it into a constant variable

Refactor Project: see OneNote

New feature:

  • use system_config.property and user.property to define constant variables in the niconico downloader
    • that means you can use your own account, set where to download, and use what method to download and etc.

Design diagram:

  • See Onenote

And also don't forget the update the README.md file

Need to implement a new downloading method.

two possible reasons, either the try-on-resource statement is having problem, or the niconico's server is unstable. for now we have already roll back to VideoDownloader.java to original version, but the investigation is still needed

Change Vsong class field so that it can record the type of videos' ID. It's eithor sm-ID or nm-ID.

It has shown that a few videos got nm-ID instead of sm-ID. Our Vsong class assume that all ID are sm-ID, that's wrong. Change the field smId back to id. And the type declaration of new field id should be String instead of int. New field also should record the whole id like smXXXXXX, nmXXXXXX, instead of just numbers XXXXXX.

Also, since the field is changed, don't forget do others necessary code change in the whole project to make thing compiles.

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.