Skip to content

TV Series is a tool that scrapes Episode Synopsis' of popular TV Series' from websites like Wikipedia / IMDb and show in one place with a user-friendly navigation UI.

Notifications You must be signed in to change notification settings

expectederror/tvseries

 
 

Repository files navigation

TV SERIES

TV Series is a tool that scrapes Episode Synopsis' of popular TV Series' from websites like Wikipedia / IMDb and shows it all in one single place, with a better user-friendly navigation UI.

Website is accessible at https://athityakumar.github.io/tvseries/index.html


To-do

Back to contents

- [x] Add UI Sample Templates - [x] Generate SITEMAP markup file automatically with ruby script - [x] Generate RESOURCES markup file automatically with ruby script - [x] Add JSON files with proper structure - [ ] Add scraping script (WIP) - [x] Add HTML pages generator script - [x] Add master shell-script that runs all scripts, and pushes changes into this repository - [x] Shell-script to deploy : [deploy.sh] (https://github.com/athityakumar/tvseries/blob/master/deploy.sh) - [x] Ruby git program for smart auto-commit messages : [git.rb] (https://github.com/athityakumar/tvseries/blob/master/git.rb.sh) - [ ] Add a cron job for the master shell-script

Supported TV Series'

Back to contents

  • Arrow
  • Breaking Bad
  • Castle
  • DC's Legends of Tomorrow
  • Friends
  • Game of Thrones
  • Gotham
  • How I Met your Mother
  • Marvel's Agents of S.H.I.E.L.D
  • Modern Family
  • Narcos
  • Person of Interest
  • Prisonbreak
  • Suits
  • Supergirl
  • Supernatural
  • The Big Bang Theory
  • The Flash
  • The Walking Dead
  • Vixen


Feel free to add more series' to the list by sending Pull Requests.


Working of the scripts

Back to contents

The `auto/ruby/index.rb` and the `auto/data/index.json` files are the crucial players here. This is the step-by-step working of this repository :
(1) `auto/ruby/index.rb` reads the `auto/data/index.json` file and knows which website(s) to look up for which series.
(2) `auto/ruby/index.rb` then visits these websites and scrapes required data from these websites.
(3) The scraped data is stored back into `auto/data/index.json` and other json files in `auto/data` directory.
(4) `auto/ruby/index.rb` again reads all these json files and creates respective html files, that result in the webpages you view.
(5) Simultaneously, `auto/ruby/index.rb` also automatically updates the `SITEMAP.md` and `RESOURCES.md` markup files.

Like the way it is automated? Star, fork and clone this repository. Contributions are always welcome.

Resources

Back to contents

###The Flash

###Person of Interest

###Gotham

###Game of Thrones

###Breaking Bad

###DC's Legends of Tomorrow

###Sherlock

###Firefly


Sitemap

Back to contents

auto/

  data/

        bb.json
        firefly.json
        flash.json
        got.json
        gotham.json
        index (copy).json
        index.json
        lot.json
        poi.json
        sherlock.json

  ruby/
        index.rb

  segments/

        html/

              index.html.erb
              series.html.erb

        md/
              README.md.erb

  .DS_Store

dist/

  components/

        button.css
        card.css
        container.css
        dimmer.css
        dimmer.js
        divider.css
        dropdown.css
        dropdown.js
        form.css
        form.js
        grid.css
        header.css
        icon.css
        image.css
        input.css
        label.css
        list.css
        menu.css
        message.css
        popup.css
        popup.js
        rating.css
        rating.js
        reset.css
        reveal.css
        segment.css
        sidebar.css
        sidebar.js
        site.css
        table.css
        transition.css
        transition.js
        visibility.js

  themes/

        default/

              assets/

                    fonts/

                          icons.eot
                          icons.eot?
                          icons.svg
                          icons.ttf
                          icons.woff
                          icons.woff2

                    images/
                          flags.png

  semantic.css
  semantic.js
  semantic.min.css
  semantic.min.js

images/

  series/

        .DS_Store
        arrow.png
        bb.png
        firefly.png
        flash.png
        got.png
        gotham.png
        lot.png
        poi.png
        sherlock.png

  .DS_Store
  logo.png

javascript/

  library/

        clipboard.min.js
        cookie.min.js
        easing.min.js
        highlight.min.js
        history.min.js
        jquery.min.js
        less.min.js
        serialize-object.js
        sinon.js
        tablesort.js
        tablesort.min.js

  accordion.js
  api.js
  button.js
  card.js
  checkbox.js
  container.js
  dimmer.js
  docs.js
  dropdown.js
  embed.js
  form.js
  grid.js
  header.js
  home.js
  icon.js
  input.js
  item.js
  menu.js
  message.js
  modal.js
  new.js
  popup.js
  progress.js
  rating.js
  search.js
  shape.js
  sidebar.js
  started.js
  sticky.js
  tab.js
  table.js
  theming.js
  transition.js
  validate-form.js
  visibility.js

series/

  bb.html
  firefly.html
  flash.html
  got.html
  gotham.html
  lot.html
  poi.html
  sherlock.html

src/

  definitions/

        collections/

              breadcrumb.less
              form.less
              grid.less
              menu.less
              message.less
              table.less

        elements/

              button.less
              container.less
              divider.less
              flag.less
              header.less
              input.less
              label.less
              list.less
              loader.less
              rail.less
              segment.less
              step.less

        globals/

              reset.less
              site.less

        modules/

              accordion.less
              checkbox.less
              dimmer.less
              dropdown.less
              modal.less
              popup.less
              progress.less
              rating.less
              search.less
              shape.less
              sidebar.less

        views/

              card.less
              comment.less
              feed.less
              item.less
              statistic.less

stylesheets/

  docs.css
  home.css
  rtl.css
  shape.css

.DS_Store README.md deploy.sh git.rb index.html sample_homepage.html sample_series.html


How to contribute

Back to contents

The work flow is the same as that of any other repository.
(1) Fork / clone the repository.
(2) Create a new branch , say `my-changes` and make your changes in this branch.
(3) Commit your changes and send a Pull request (PR) to this repository.
Active contributors would be rewarded with the tag of "Collabrators"
Bug fixes , Issues , Issue solutions , Optimizations & Enhancements are always welcome.

License

Back to contents

The MIT License (MIT)

Copyright (c) 2016 Athitya Kumar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

TV Series is a tool that scrapes Episode Synopsis' of popular TV Series' from websites like Wikipedia / IMDb and show in one place with a user-friendly navigation UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.5%
  • CSS 34.0%
  • JavaScript 15.0%
  • Ruby 1.5%