Class RSSEngine
java.lang.Object
com.biglybt.core.metasearch.impl.EngineImpl
com.biglybt.core.metasearch.impl.web.WebEngine
com.biglybt.core.metasearch.impl.web.rss.RSSEngine
- All Implemented Interfaces:
Engine
-
Nested Class Summary
Nested classes/interfaces inherited from class WebEngine
WebEngine.pageDetails, WebEngine.pageDetailsVerifier -
Field Summary
FieldsFields inherited from class WebEngine
AM_PROXY, AM_TRANSPARENTFields inherited from class EngineImpl
LD_AUTO_DL_SUPPORTED, LD_COOKIES, LD_CREATED_BY_ME, LD_ETAG, LD_LAST_MODIFIED, LD_LAST_UPDATE_CHECK, LD_LINK_IS_TORRENT, LD_UPDATE_CHECK_SECSFields inherited from interface Engine
AUTO_DL_SUPPORTED_NO, AUTO_DL_SUPPORTED_UNKNOWN, AUTO_DL_SUPPORTED_YES, AZ_VERSION, CT_AUDIO, CT_GAME, CT_VIDEO, ENGINE_SOURCE_LOCAL, ENGINE_SOURCE_RSS, ENGINE_SOURCE_STRS, ENGINE_SOURCE_UNKNOWN, ENGINE_SOURCE_VUZE, ENGINE_TYPE_JSON, ENGINE_TYPE_PLUGIN, ENGINE_TYPE_REGEX, ENGINE_TYPE_RSS, ENGINE_TYPE_STRS, FIELD_ASSET_DATE, FIELD_CATEGORY, FIELD_CDPLINK, FIELD_COMMENTS, FIELD_CONTENT_TYPE, FIELD_DATE, FIELD_DISCARD, FIELD_DOWNLOADBTNLINK, FIELD_DRMKEY, FIELD_HASH, FIELD_IDS, FIELD_NAME, FIELD_NAMES, FIELD_PEERS, FIELD_PLAYLINK, FIELD_PRIVATE, FIELD_RANK, FIELD_SEEDS, FIELD_SIZE, FIELD_SUPERSEEDS, FIELD_TORRENTLINK, FIELD_VOTES, FIELD_VOTES_DOWN, SC_BATCH_PERIOD, SC_FORCE_FULL, SC_REMOVE_DUP_HASH, SC_SOURCE, SEL_STATE_AUTO_SELECTED, SEL_STATE_DESELECTED, SEL_STATE_FORCE_DESELECTED, SEL_STATE_MANUAL_SELECTED, SEL_STATE_STRINGS, VUZE_FILE_COMPONENT_ENGINE_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionRSSEngine(MetaSearchImpl meta_search, long id, long last_updated, float rank_bias, String name, String searchURLFormat, boolean needs_auth, String auth_method, String login_url, String[] required_cookies) protectedRSSEngine(MetaSearchImpl meta_search, long id, long last_updated, float rank_bias, String name, JSONObject map) protectedRSSEngine(MetaSearchImpl meta_search, Map map) -
Method Summary
Modifier and TypeMethodDescriptionexportToBencodedMap(boolean generic) intstatic EngineImplimportFromBEncodedMap(MetaSearchImpl meta_search, Map map) static EngineimportFromJSONString(MetaSearchImpl meta_search, long id, long last_updated, float rank_bias, String name, JSONObject map) protected booleanlinkIsToTorrent(URL url) protected Result[]searchSupport(SearchParameter[] searchParameters, Map searchContext, int desired_max_matches, int absolute_max_matches, String headers, ResultListener listener) booleansupportsField(int field_id) Methods inherited from class WebEngine
exportToBencodedMap, exportToJSONObject, extractProperty, getAuthMethod, getBasePage, getClone, getCookies, getDateParser, getDownloadLinkCSS, getIcon, getLoginPageUrl, getMappings, getNameEx, getReferer, getRequiredCookies, getRootPage, getSearchUrl, getSearchUrl, getString, getString, getWebPageContent, getWebPageContent, init, isAnonymous, isAuthenticated, isNeedsAuth, isShareable, requiresLogin, setCookies, setHeaders, setLoginPageUrl, setNeedsAuth, setRequiredCookies, setSearchUrl, supportsContextMethods inherited from class EngineImpl
addPotentialAssociation, allocateUID, applyRankBias, checkSelectionStateRecorded, configDirty, debugLog, debugStart, delete, exportBEncodedMappings, exportJSONMappings, exportToJSONString, exportToVuzeFile, exportToVuzeFile, exportToVuzeFile, getAZVersion, getDebugFile, getId, getLastUpdateCheck, getLastUpdated, getLocalBoolean, getLocalLong, getLocalString, getMetaSearch, getName, getPreferredWeighting, getRankBias, getSelectionState, getSource, getSubscription, getType, getUID, getUpdateCheckSecs, getUpdateURL, getUserData, getVersion, importBEncodedMappings, importFromJSONString, importJSONMappings, isActive, isMine, isPublic, log, log, mapResults, recordSelectionState, reset, sameLogicAs, search, searchAndMap, setDefaultUpdateCheckSecs, setId, setLastUpdateCheck, setLocalBoolean, setLocalLong, setLocalString, setLocalUpdateCheckSecs, setMine, setName, setPreferredDelta, setPublic, setRankBias, setSelectionState, setSource, setUID, setUpdateURL, setUserData, setVersion, vuzeFieldToID, vuzeIDToField
-
Field Details
-
seed_leecher_pat1
-
seed_leecher_pat2
-
completed_pat
-
size_pat
-
-
Constructor Details
-
RSSEngine
-
RSSEngine
- Throws:
IOException
-
RSSEngine
protected RSSEngine(MetaSearchImpl meta_search, long id, long last_updated, float rank_bias, String name, JSONObject map) throws IOException - Throws:
IOException
-
-
Method Details
-
importFromBEncodedMap
public static EngineImpl importFromBEncodedMap(MetaSearchImpl meta_search, Map map) throws IOException - Throws:
IOException
-
importFromJSONString
public static Engine importFromJSONString(MetaSearchImpl meta_search, long id, long last_updated, float rank_bias, String name, JSONObject map) throws IOException - Throws:
IOException
-
exportToBencodedMap
- Throws:
IOException
-
exportToBencodedMap
- Throws:
IOException
-
supportsField
public boolean supportsField(int field_id) - Specified by:
supportsFieldin interfaceEngine- Overrides:
supportsFieldin classWebEngine
-
getAutoDownloadSupported
public int getAutoDownloadSupported()- Specified by:
getAutoDownloadSupportedin interfaceEngine- Overrides:
getAutoDownloadSupportedin classEngineImpl- Returns:
- one of AUTO_DL constants above
-
searchSupport
protected Result[] searchSupport(SearchParameter[] searchParameters, Map searchContext, int desired_max_matches, int absolute_max_matches, String headers, ResultListener listener) throws SearchException - Specified by:
searchSupportin classEngineImpl- Throws:
SearchException
-
linkIsToTorrent
-