Giter Site home page Giter Site logo

holo's People

Contributors

aginsun avatar andrewhillcode avatar kazzarin avatar mistywing avatar mnmt avatar oussamadanba avatar theenigmablade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

holo's Issues

Use asyncio

Since you're already requiring Python 3.4 or higher, I suggest using asyncio. It provides a nice generator-based event loop, which makes things cleaner and more flexible as opposed to invoking holo multiple times.

For HTTP connections, there's aiohttp. I don't know of any reddit clients that use asyncio.

Add synopsis to thread structure

  • Decide with other mods on how to handle possible spoilers (nothing since post-watch discussion or spoiler flair)
  • Add to info update
  • Add to post structure (maybe wait for block-based restructuring)

Episode Poll Link With New Episode Posts

Hi,

I was wondering about the possibility of adding a poll link to each episode post to track user ratings and/or appending that link to the growing weekly table for a series. r/movies does something like this for each film (post: https://www.reddit.com/r/movies/comments/8a5qdo/official_discussion_a_quiet_place_spoilers/ poll: https://youpoll.me/4701/)

I worked on a sample Python script using Selenium that could dynamically create a poll link for a series and episode (ex: https://youpoll.me/5831/). Another site that looked promising was strawpoll.com.

Is this something the Holo project has considered adding?

Why Holo out of all of things ?

I mean Seriously ๐Ÿ—ก :D
Is this script to do what exactly ? Its not that obvious from the ReadMe ... Does it let you see comments perhaps ? Sorry for the silly question... (Holo is not a tool you know?)

Optimize detection of new episodes

Parsing the HTTP headers for the content length is better than downloading the entire feed data.

FUNimation includes Content-Length in the HTTP header for http://www.funimation.com/feeds/ps/videos?ut=FunimationSubscriptionUser&show_id=SHOW_ID. (You can send the HEAD command to get this)

Crunchyroll doesn't include Content-Length for some reason, but they do support partial GET requests (i.e. including Range in the GET request). Then Content-Range will be included in the response header, which includes the total length of the content (after compression I believe). I used the URL of the form http://www.crunchyroll.com/SHOW_NAME.rss for testing.

I haven't tested other URLs or sites, but hopefully they work similarly.

Episodes can only be integers

All major services (FUNimation, Crunchyroll, Daisuki) allow episodes that are non-integers. These episodes are nearly always recaps or specials so the decision can be made to not bother with those episodes. If that's the case non-integers should probably be explicitly ignored otherwise casting to int will cause episode numbers to get improperly converted. This will probably work fine since episode x.y will always be casted to x which very likely already exists but it's something extra to take into account.

FUNimation API no longer updated

The FUNimation API stopped getting updated on March 14th presumably because all old applications were phased out in favor of new ones with the FunimationNow branding. These new applications use a completely different API which is shared among multiple device types (instead of a separate API for every device). Both the FUNimation PlayStation API and mobile API are no longer updated with new episodes (not sure about other ones).

There is a small chance that this happened because of the DST change since the old APIs are still online but no longer reporting new information. I personally doubt it since about a day after the DST change new data was added.

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.