Closed rezart closed 3 years ago
Not sure what the problem is but trying to access news and everything returned seems to be the wrong encoding. Here is an example:
2.7.3 :009 > $iex.news('PLTR').first => #<IEX::Resources::News datetime=2021-08-24 14:36:51 107479/524288 -0700 headline="ia C mR paTeDyWorbniIslnpllFiHenlntieset - oPf sa AeiRre ,og iIr m ooshgplnalthdtpaDtriiinnraaoi atGTMte" image="0ec6e26.-es0ceoa60ace2/p-4/st49-fw:/hd3ei9iles/9i7/t18apu83f7e07/om1negx-mv." language="en" paywalled=false related=["PTRL"] source="geBnzian" summary="cncgpiaard aldctl runurnvmftoa a tT gfenn dfiihrs dcpteh aRwcd caa Tsnoateyell re nprn inumSh flel e. atoaihei egnytddai vlo)iedeti tstnssstgf hrcmadha e hrsano eorew.Ba wipcdi p o ncr eoeottnaenm nRsd…tfe ve.a nroeil .arh iiahitusstpp dss terrleswp steFcpa ge iishi cnaianinrtehif m a fyosamealuhesshEan nn sePa etttsr paetsnee oyrlhevouedrviet paaaio mohp iLdincIg oycal aeotioaciisit ibmdeeiwa rmy rstame FoTettnt.iisdbr ien irlrWr rgsgrfsop o'hmte addoot olrrzeiNsoc lxfonf Yhipsefrnria wece eae a .ldt-atnP tdH eenai rPliwely,tont g:lenosroencbots nhnoi,tS Re n intn iwr nsi smarTd aied lttuPot httneyttgia(:larstleh otposiitec ag" url="cxf/e7s/ee9np29v3-/dh28seee63cot6ro/.ei0l.ieei001ca7l4t/w9-7:p8-cau6f-01/am4st">
Ah my mistake. I am realizing now I was using the sandbox endpoint which does not produce real data.
Not sure what the problem is but trying to access news and everything returned seems to be the wrong encoding. Here is an example: