diff --git a/Browser/AVExtractor.m b/Browser/AVExtractor.m new file mode 100644 index 0000000..27fddce --- /dev/null +++ b/Browser/AVExtractor.m @@ -0,0 +1,41 @@ +// +// AVExtractor.m +// Simple DOM-based extractor for common stream patterns +// + +#import +#import + +@interface AVExtractor : NSObject ++ (NSString *)extractPlayableURLFromWebView:(UIWebView *)webview; +@end + +@implementation AVExtractor + ++ (NSString *)extractPlayableURLFromWebView:(UIWebView *)webview { + // Run a small JS in the UIWebView to find