generated from Nekojimi/JavaMavenTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
772 B
38 lines
772 B
![]()
4 years ago
|
/*
|
||
|
* To change this license header, choose License Headers in Project Properties.
|
||
|
* To change this template file, choose Tools | Templates
|
||
|
* and open the template in the editor.
|
||
|
*/
|
||
|
package moe.nekojimi.musicsearcher.providers;
|
||
|
|
||
|
import java.util.List;
|
||
|
import moe.nekojimi.musicsearcher.Result;
|
||
|
import org.jsoup.Jsoup;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author jim
|
||
|
*/
|
||
|
public class WebScraperSearcher extends Searcher
|
||
|
{
|
||
|
private String searchUrl;
|
||
|
|
||
|
private String resultItem;
|
||
|
private String artistItem;
|
||
|
private String titleItem;
|
||
|
private String linkHrefItem;
|
||
|
private String albumArtistItem;
|
||
|
|
||
|
public WebScraperSearcher(String name)
|
||
|
{
|
||
|
super(name);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected List<Result> doSearch(String query)
|
||
|
{
|
||
|
Jsoup.
|
||
|
}
|
||
|
|
||
|
}
|