Git Product home page Git Product logo

atelier-shiori / detectstream Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 2.0 574 KB

Cocoa Framework that outputs what Anime and Episode that is being streamed from Safari, Webkit, Omniweb, Roccat and Chrome on macOS

Home Page: http://atelier-shiori.github.io/detectstream/

License: MIT License

Objective-C 100.00%
anime stream-detection crunchyroll macos objective-c funimation amazon-prime-video hidive

detectstream's Introduction

What is detectstream

This is an open source Cocoa Framework that detects Web Stream presence in Safari, Webkit, OmniWeb, Orion, Chrome, Edge, and Brave Browser using the Scripting framework (other browsers are unsupported as they don't support AppleScript)

detectstream only works on macOS 10.11 El Capitan or later. Built against the macOS 13 SDK and is Universal Binary 2 compatible for Intel and Apple Silicon.

detectstream is used in Hachidori and MAL Updater OS X

macOS Mojave or later Considerations: Due to security changes, you must specify the key: "NSAppleEventsUsageDescription" with a description on usage and also enable Apple Events under Resource Access with Hardened Runtime enabled under Capabilities. This is required in order for stream detection and App Notarization to work.

Support

detectstream currently supports these sites:

Anime

Safari, Webkit, Orion, Chrome, Edge, Brave Browser, Opera, Roccat Browser and Omniweb: Crunchyroll, AnimeNewsNetwork, AnimeLab, Viz Neon Valley, Viewster, Wakanim, Funimation, Netflix, Hidive, VRV, Tubitv, AsianCrush, AnimeDigitalNetwork, Sony Crackle, Adult Swim, HBO Max, Retrocrush, Hulu, Peacocktv, YouTube and Plex.tv Media Server (locally and on the web).

Chrome, Edge, Brave Browser, Orion, and Safari only (requires Javascript Execution): Viewster, Amazon Prime Video, Adult Swim, Funimation (detection from user's watch history on the My Account page), HBO Max, Retrocrush, Hulu, Crunchyroll, Peacocktv, Disney Plus, Netflix (For Safari, you need to have "Enable Javascript from Apple Events" enabled in the Developer Menu. For Google Chrome, View > Developer > Allow JavaScript from Apple Events)

Note: Detection does not support non-anime titles

Manga

Safari, Webkit, Chrome, Edge, Brave Browser, Opera, Roccat Browser and Omniweb: Crunchyroll

How to use

Sample source code for using this helper program in Objective-C and Swift can be seen here

How to help out

Create a thread on our Support Forums. See this thread on how to report stream detection issue first before posting.

To Compile

Get the source and then type xcodebuild. Having the applications installed is no longer necessary as the scripting bridge headers are now included.

To include in your project, drag the DetectStreamKit.framework.

License

This version is licensed under MIT License.

detectstream's People

Contributors

moyitpro avatar

Stargazers

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

Watchers

 avatar  avatar

detectstream's Issues

Rewrite detectstream in Swift

Since Swift is the future, I want to eventually transition detectstream from using Objective-C to Swift. While it's not viable today due to the huge file size, it will be in the future.

Here is the progress so far

  • Rewrite ezregex class

  • Rewrite Browser Detection class

  • Rewrite Media Parse class

  • Main routines and outputting JSON

The swift version will be developed in the swift branch.

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.