mirror of https://github.com/FongMi/TV.git
parent
89529eaaf1
commit
bad1fe5590
@ -1,25 +0,0 @@ |
||||
package com.fongmi.android.tv.player.extractor; |
||||
|
||||
import com.fongmi.android.tv.player.Source; |
||||
import com.fongmi.android.tv.utils.UrlUtil; |
||||
|
||||
public class Proxy implements Source.Extractor { |
||||
|
||||
@Override |
||||
public boolean match(String scheme, String host) { |
||||
return scheme.equals("proxy"); |
||||
} |
||||
|
||||
@Override |
||||
public String fetch(String url) throws Exception { |
||||
return UrlUtil.convert(url); |
||||
} |
||||
|
||||
@Override |
||||
public void stop() { |
||||
} |
||||
|
||||
@Override |
||||
public void exit() { |
||||
} |
||||
} |
||||
Loading…
Reference in new issue