- java.lang.Object
-
- org.ojalgo.data.domain.finance.series.YahooSessionOld
-
@Deprecated final class YahooSessionOld extends java.lang.ObjectDeprecated.All data downloaders/fetchers are deprecated. They will be removed in a future release, and most likely they're already broken.Old, deprecated and non-functioning, version of
YahooSession. Keeping it for a while as documentation of how it had to be done previously.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classYahooSessionOld.FetcherDeprecated.
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.StringBRAND_BIDDeprecated.(package private) static java.lang.StringCRUMBDeprecated.(package private) static java.lang.StringCSRF_TOKENDeprecated.(package private) static booleandebugDeprecated.private static CalendarDateDurationDURATION_30_YEARSDeprecated.private static java.lang.StringENDDeprecated.private static java.lang.StringFINANCE_YAHOO_COMDeprecated.private static java.lang.StringGUCE_OATH_COMDeprecated.private static java.lang.StringINPUT_TYPE_HIDDEN_NAME_BRAND_BID_VALUEDeprecated.private static java.lang.StringINPUT_TYPE_HIDDEN_NAME_CSRF_TOKEN_VALUEDeprecated.private static java.lang.StringINTERVALDeprecated.private ResourceLocator.SessionmySessionDeprecated.private static java.lang.StringQUERY1_FINANCE_YAHOO_COMDeprecated.(package private) static java.lang.StringSESSION_IDDeprecated.
-
Constructor Summary
Constructors Constructor Description YahooSessionOld()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description (package private) static ResourceLocator.RequestbuildChallengeRequest(ResourceLocator.Session session, java.lang.String symbol)Deprecated.A request that requires consent and will set the "B" cookie, but not the crumb(package private) static ResourceLocator.RequestbuildConsentRequest(ResourceLocator.Session session, ResourceLocator.Request challengeRequest)Deprecated.(package private) static ResourceLocator.RequestbuildCrumbRequest(ResourceLocator.Session session)Deprecated.(package private) static ResourceLocator.RequestbuildDataRequest(ResourceLocator.Session session, java.lang.String symbol, CalendarDateUnit resolution)Deprecated.(package private) YahooSessionOld.FetchernewFetcher(java.lang.String symbol, CalendarDateUnit resolution)Deprecated.(package private) static voidscrapeChallengeResponse(ResourceLocator.Session session, ResourceLocator.Response challengeResponse)Deprecated.(package private) static voidscrapeCrumbResponse(ResourceLocator.Session session, ResourceLocator.Response crumbResponse)Deprecated.
-
-
-
Field Detail
-
DURATION_30_YEARS
private static final CalendarDateDuration DURATION_30_YEARS
Deprecated.
-
END
private static final java.lang.String END
Deprecated.- See Also:
- Constant Field Values
-
FINANCE_YAHOO_COM
private static final java.lang.String FINANCE_YAHOO_COM
Deprecated.- See Also:
- Constant Field Values
-
GUCE_OATH_COM
private static final java.lang.String GUCE_OATH_COM
Deprecated.- See Also:
- Constant Field Values
-
INPUT_TYPE_HIDDEN_NAME_BRAND_BID_VALUE
private static final java.lang.String INPUT_TYPE_HIDDEN_NAME_BRAND_BID_VALUE
Deprecated.- See Also:
- Constant Field Values
-
INPUT_TYPE_HIDDEN_NAME_CSRF_TOKEN_VALUE
private static final java.lang.String INPUT_TYPE_HIDDEN_NAME_CSRF_TOKEN_VALUE
Deprecated.- See Also:
- Constant Field Values
-
INTERVAL
private static final java.lang.String INTERVAL
Deprecated.- See Also:
- Constant Field Values
-
QUERY1_FINANCE_YAHOO_COM
private static final java.lang.String QUERY1_FINANCE_YAHOO_COM
Deprecated.- See Also:
- Constant Field Values
-
BRAND_BID
static final java.lang.String BRAND_BID
Deprecated.- See Also:
- Constant Field Values
-
CRUMB
static final java.lang.String CRUMB
Deprecated.- See Also:
- Constant Field Values
-
CSRF_TOKEN
static final java.lang.String CSRF_TOKEN
Deprecated.- See Also:
- Constant Field Values
-
debug
static boolean debug
Deprecated.
-
SESSION_ID
static final java.lang.String SESSION_ID
Deprecated.- See Also:
- Constant Field Values
-
mySession
private final ResourceLocator.Session mySession
Deprecated.
-
-
Method Detail
-
buildChallengeRequest
static ResourceLocator.Request buildChallengeRequest(ResourceLocator.Session session, java.lang.String symbol)
Deprecated.A request that requires consent and will set the "B" cookie, but not the crumb
-
buildConsentRequest
static ResourceLocator.Request buildConsentRequest(ResourceLocator.Session session, ResourceLocator.Request challengeRequest)
Deprecated.
-
buildCrumbRequest
static ResourceLocator.Request buildCrumbRequest(ResourceLocator.Session session)
Deprecated.
-
buildDataRequest
static ResourceLocator.Request buildDataRequest(ResourceLocator.Session session, java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.
-
scrapeChallengeResponse
static void scrapeChallengeResponse(ResourceLocator.Session session, ResourceLocator.Response challengeResponse)
Deprecated.
-
scrapeCrumbResponse
static void scrapeCrumbResponse(ResourceLocator.Session session, ResourceLocator.Response crumbResponse)
Deprecated.
-
newFetcher
YahooSessionOld.Fetcher newFetcher(java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.
-
-