Save story metadata when scraping stories and media metadata flag is on (#494)
Save story metadata when scraping stories and media metadata flag is on (#494)

* Extract code to persist metadata when the right flags are set

* Remove extra whitespace

* Save metadata for stories when media metadata flag is used

Closes #347

Co-authored-by: rarcega <da0065cf55ccb564f5584d674445c38a5d19ae66@users.noreply.github.com>
rarcega/instagram-scraper