detatch android related downloader from crawler
This commit is contained in:
parent
f152d66cd8
commit
54d318bf04
12 changed files with 243 additions and 165 deletions
|
|
@ -108,7 +108,7 @@ public class VideoItemDetailFragment extends Fragment {
|
|||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
this.videoExtractor = service.getExtractorInstance(videoUrl);
|
||||
this.videoExtractor = service.getExtractorInstance(videoUrl, new Downloader());
|
||||
VideoInfo videoInfo = videoExtractor.getVideoInfo();
|
||||
h.post(new VideoResultReturnedRunnable(videoInfo));
|
||||
if (videoInfo.errorCode == VideoInfo.NO_ERROR) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue