{"action":"created","issue":{"url":"https://api.github.com/repos/openjck/apod-scraper/issues/7","repository_url":"https://api.github.com/repos/openjck/apod-scraper","labels_url":"https://api.github.com/repos/openjck/apod-scraper/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/openjck/apod-scraper/issues/7/comments","events_url":"https://api.github.com/repos/openjck/apod-scraper/issues/7/events","html_url":"https://github.com/openjck/apod-scraper/pull/7","id":143583382,"number":7,"title":"Add support for credit and video data and fix some bugs","user":{"login":"dsbeckham","id":6511449,"avatar_url":"https://avatars.githubusercontent.com/u/6511449?v=3","gravatar_id":"","url":"https://api.github.com/users/dsbeckham","html_url":"https://github.com/dsbeckham","followers_url":"https://api.github.com/users/dsbeckham/followers","following_url":"https://api.github.com/users/dsbeckham/following{/other_user}","gists_url":"https://api.github.com/users/dsbeckham/gists{/gist_id}","starred_url":"https://api.github.com/users/dsbeckham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsbeckham/subscriptions","organizations_url":"https://api.github.com/users/dsbeckham/orgs","repos_url":"https://api.github.com/users/dsbeckham/repos","events_url":"https://api.github.com/users/dsbeckham/events{/privacy}","received_events_url":"https://api.github.com/users/dsbeckham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-25T19:59:09Z","updated_at":"2016-04-07T21:58:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openjck/apod-scraper/pulls/7","html_url":"https://github.com/openjck/apod-scraper/pull/7","diff_url":"https://github.com/openjck/apod-scraper/pull/7.diff","patch_url":"https://github.com/openjck/apod-scraper/pull/7.patch"},"body":"Hi,\r\n\r\nI worked on improving your script a few days ago. I was able to get the scraper to successfully retrieve the credit information and video URLs (if applicable) on every page. I also fixed some cases where the picture would not be scraped if a higher-definition version was not available. Additionally, I fixed a problem I noticed with the database tables being out of order.\r\n\r\nI made a new scraper on [morph.io](https://morph.io/dsbeckham/apod-scraper) if you want to have a look. I had to add a `requirements.txt` file to the repository to get the scraper working (actually, I'm not sure how yours is working without it).\r\n\r\nThis should take care of #1, #3, and #4."},"comment":{"url":"https://api.github.com/repos/openjck/apod-scraper/issues/comments/207107623","html_url":"https://github.com/openjck/apod-scraper/pull/7#issuecomment-207107623","issue_url":"https://api.github.com/repos/openjck/apod-scraper/issues/7","id":207107623,"user":{"login":"dsbeckham","id":6511449,"avatar_url":"https://avatars.githubusercontent.com/u/6511449?v=3","gravatar_id":"","url":"https://api.github.com/users/dsbeckham","html_url":"https://github.com/dsbeckham","followers_url":"https://api.github.com/users/dsbeckham/followers","following_url":"https://api.github.com/users/dsbeckham/following{/other_user}","gists_url":"https://api.github.com/users/dsbeckham/gists{/gist_id}","starred_url":"https://api.github.com/users/dsbeckham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsbeckham/subscriptions","organizations_url":"https://api.github.com/users/dsbeckham/orgs","repos_url":"https://api.github.com/users/dsbeckham/repos","events_url":"https://api.github.com/users/dsbeckham/events{/privacy}","received_events_url":"https://api.github.com/users/dsbeckham/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T21:58:03Z","updated_at":"2016-04-07T21:58:03Z","body":"Thanks. I'm just writing a small Android app that fetches the images. I was initially going to use the [NASA API](https://api.nasa.gov/), but I found that it was way too limited (only one image per query can be retrieved, and there's a limit of 1000 queries per hour). This works much better! I can grab a whole month of images in a single query now. I had not actually heard of morph.io before I saw your script here, but it's a nice resource, so thanks for your work."}}