Stefan Countryman

Results 14 comments of Stefan Countryman

Do [`Post.download`](https://github.com/chris-greening/instascrape/blob/master/instascrape/scrapers/post.py#L102) or [`Post._download_photo`](https://github.com/chris-greening/instascrape/blob/ce924b51b5a8c651b2a3606445bd5fe38a2be8ad/instascrape/scrapers/post.py#L158) solve your problem?

You need to run `g.scrape()` first to actually pull the data, then it should work. @chris-greening you can close this

Did you use Selenium or a `requests.Session`? The `json_dict` is structured differently in those cases. I made a patch that fixes those cases, will submit in a second.

@NishantPuri99 It is not merged yet, have not seen feedback on #125. Seems the repository owner is not maintaining this project. I fixed it in the latest version on my...

I see that `_xindex` is not initialized until `xindex` is called, which must be the problem: ```python In [180]: t = TimeSeries.read('foo.hdf5') ...: # start = t.times[-1] + t.dt ...:...

Indeed, calling `xindex` initializes `_xindex` if it hasn't already been initialized. From /gwpy/types/series.py, line 251: ```python # xindex @property def xindex(self): """Positions of the data on the x-axis :type: `~astropy.units.Quantity`...

Ah, this is a problem with astropy.units.Quantity, which doesn't own its own values (as discussed at pyastro 2018). I've fixed this in the Series.append code.

@duncanmmacleod Ah, sorry, here you go: ```python >>> # IMPORTS ... import numpy as np ... from astropy.units import Unit, Quantity ... from gwpy.timeseries import TimeSeries >>> # INPUT ARGS...