Giter Site home page Giter Site logo

premiermovie's Introduction

PremierMovie

冠影,前端静态页面

此项目运行流程(nodejs命令行下):

  1. 运行git clone 本项目https/git地址命令 将项目下载到本地某个文件夹下
  2. 运行npm install命令, 下载所有依赖的nodejs包
  3. 运行cd others命令, 到others目录下
  4. 编辑*.json / *List.txt中对应的电影/综艺/明星/电视剧/网剧名单以及豆瓣id,格式需要匹配
  5. 运行node *_js.js命令, 生成对应的*.js文件(用于加载排行榜)和电影/综艺/明星/电视剧/网剧名.js(用于具体该名字详细信息)

gulpfile.js中有一些自动化处理函数,需要nodejs运行, 暂时不需要使用

以下*表示movie/show/star/tv/nettv(暂无)中的一个分别对应:电影/综艺/明星/电视剧/网剧

js/下保存所有的js文件,

js/search/ 中的文件为各个类别中用于对应search*.html?的js文件,其中保存某电影/明星/电视剧/综艺节目的详细信息

js/cityinfo为全国各省市的经纬度以及各区市

js/custom.js为网站首页用到的自定义脚步内容

js/*.js为

js/search/*/log.txt为从豆瓣api抓取数据时保存的原始响应json数据

js/search/*/*Null.txt为我们自己的mysql数据库没有对应数据的名单,需要从豆瓣再次爬取

others/下为非客户端资源,

xls-*为excel文件,

*.json为名字和豆瓣id的对应关系.(有误)

*List.txt为文字名单

*_js.js为生成对应页面和对应页面内详细(电影/明星/电视剧/综艺)js的nodejs代码,

其中idvsname.json为电影名和猫眼id对应名单

premiermovie's People

Contributors

xmoyking avatar haohong11 avatar wsqat avatar joeychui avatar gordon-deng avatar

Stargazers

鱼十三 avatar

Watchers

James Cloos avatar  avatar  avatar zhangshu avatar

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.