Class YahooSessionOld
- java.lang.Object
-
- org.ojalgo.data.domain.finance.series.YahooSessionOld
-
@Deprecated final class YahooSessionOld extends java.lang.Object
Deprecated.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 class
YahooSessionOld.Fetcher
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
BRAND_BID
Deprecated.(package private) static java.lang.String
CRUMB
Deprecated.(package private) static java.lang.String
CSRF_TOKEN
Deprecated.(package private) static boolean
debug
Deprecated.private static CalendarDateDuration
DURATION_30_YEARS
Deprecated.private static java.lang.String
END
Deprecated.private static java.lang.String
FINANCE_YAHOO_COM
Deprecated.private static java.lang.String
GUCE_OATH_COM
Deprecated.private static java.lang.String
INPUT_TYPE_HIDDEN_NAME_BRAND_BID_VALUE
Deprecated.private static java.lang.String
INPUT_TYPE_HIDDEN_NAME_CSRF_TOKEN_VALUE
Deprecated.private static java.lang.String
INTERVAL
Deprecated.private ResourceLocator.Session
mySession
Deprecated.private static java.lang.String
QUERY1_FINANCE_YAHOO_COM
Deprecated.(package private) static java.lang.String
SESSION_ID
Deprecated.
-
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.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(package private) static ResourceLocator.Request
buildConsentRequest(ResourceLocator.Session session, ResourceLocator.Request challengeRequest)
Deprecated.(package private) static ResourceLocator.Request
buildCrumbRequest(ResourceLocator.Session session)
Deprecated.(package private) static ResourceLocator.Request
buildDataRequest(ResourceLocator.Session session, java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.(package private) YahooSessionOld.Fetcher
newFetcher(java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.(package private) static void
scrapeChallengeResponse(ResourceLocator.Session session, ResourceLocator.Response challengeResponse)
Deprecated.(package private) static void
scrapeCrumbResponse(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.
-
-