Repository: praw-dev/praw

Issue:
Add url parameter to Reddit.info
Per [Reddit's API documentation](https://www.reddit.com/dev/api/#GET_api_info), the `/api/info` endpoint can take a `url` parameter. The result is a listing of link submissions to that URL. For example, the following yields a listing of links to https://www.youtube.com:

https://www.reddit.com/api/info?url=https://www.youtube.com/

Currently, `Reddit.info` provides support for the `/api/info` endpoint, but it only supports the `id` parameter. It would be nice to have the `url` parameter as an option as well.


Discussion:
I'd love to take a stab at implementing this.
@darthkedrik awesome! Let us know if you have any questions. Also, please review: https://praw.readthedocs.io/en/latest/package_info/contributing.html
Will do.

A quick question for you, what do you think would be a more user friendly approach: allowing users to send a list that contains either fullnames or urls, or allowing users to send the function to lists separated into urls and fullnames? My thoughts were towards the first, but I also thought the second could be better for clarity's sake.
I think you're right about clarity, especially since the parameter is already called `fullnames`. Additionally, I think the implementation will be simpler if the API parameter is identified explicitly by the user, rather than implicitly by the value of the argument.

As a side note, the endpoint doesn't accept a list, just a single URL. If there's a comma in the URL, then it's treated as part of the URL.
To summarize, let's leave `fullnames` as is, and add another `url` keyword. These should be mutually exclusive (if I understand correctly), please use a similar approach as is done here (though you don't need to check for the empty string part):

https://github.com/praw-dev/praw/blob/dfc0eafc2aa84eaf5874952e7d96869c28d62285/praw/models/reddit/subreddit.py#L468

The mutual exclusivity should be tested in a unit test as it does not require network connectivity.

Thanks @darthkedrik!
@darthkedrik any progress on this issue, or an estimate on when you'll have time to work on it?

What questions do you have in order to move forward?
@bboe Sorry for the late response, I was on vacation for most of this last week. I'm finishing up with this issue, just implementing some tests and it should be good to go.
Awesome. And no worries about the delay, I merely wanted to try to get a status update. Thanks!
@bboe just a quick update for you, I've got it all working and made a new cassette. I've updated the changelog and everything, so I should be all set to open a pull request tonight after work. Now when I pass the optional url parameter I get a list of submissions for that URL. 

Should we include somewhere in the documentation a brief warning that the url is taken literally? As is, if you enter "youtube" "youtube.com" and "https://www.youtube.com" you will get a different set of submissions for each one, as reddit treats each as a separate url.
> Should we include somewhere in the documentation a brief warning...

That sounds like an excellent idea. Yes, please do that.

Resolving patch:
diff --git a/praw/reddit.py b/praw/reddit.py
--- a/praw/reddit.py
+++ b/praw/reddit.py
@@ -367,11 +367,14 @@ def get(self, path, params=None):
         data = self.request('GET', path, params=params)
         return self._objector.objectify(data)
 
-    def info(self, fullnames):
-        """Fetch information about each item in ``fullnames``.
-
-        :param fullnames: A list of fullnames for a comment, submission, or
-            subreddit.
+    def info(self, fullnames=None, url=None):
+        """Fetch information about each item in ``fullnames`` or from ``url``.
+
+        :param param_list: A list of paramaters, either fullnames for a
+            comment/submission/subreddit or a url for a list of link
+            submissions.
+        :param url: A url (as a string) to retrieve lists of link submissions
+            from.
         :returns: A generator that yields found items in their relative order.
 
         Items that cannot be matched will not be generated. Requests will be
@@ -381,18 +384,41 @@ def info(self, fullnames):
                   to obtain its replies, you will need to call :meth:`.refresh`
                   on the yielded :class:`.Comment`.
 
+        .. note:: When using the url option, it is important to be aware that
+                  urls are treated literally by Reddit apis. As such, the urls
+                  "youtube.com" and "https://www.youtube.com" will provide a
+                  different set of submissions.
+
+        .. note:: When using the url option, it is important to be aware that
+                  urls are treated literally by Reddit apis. As such, the urls
+                  "youtube.com" and "https://www.youtube.com" will provide a
+                  different set of submissions.
+
         """
-        if not isinstance(fullnames, list):
-            raise TypeError('fullnames must be a list')
+        if bool(fullnames) == bool(url):
+            raise TypeError('Either `fullnames` or `url` must be provided.')
 
-        def generator():
-            for position in range(0, len(fullnames), 100):
-                fullname_chunk = fullnames[position:position + 100]
-                params = {'id': ','.join(fullname_chunk)}
-                for result in self.get(API_PATH['info'], params=params):
-                    yield result
+        elif fullnames:
+            if not isinstance(fullnames, list):
+                raise TypeError('fullnames must be a list')
 
-        return generator()
+            def generator():
+                for position in range(0, len(fullnames), 100):
+                    fullname_chunk = fullnames[position:position + 100]
+                    params = {'id': ','.join(fullname_chunk)}
+                    for result in self.get(API_PATH['info'], params=params):
+                        yield result
+
+            return generator()
+
+        else:
+            try:
+                params = {'url': url}
+                url_list = [result for result in
+                            self.get(API_PATH['info'], params=params)]
+                return url_list
+            except:
+                raise TypeError('Invalid URL or no posts exist')
 
     def post(self, path, data=None, files=None, params=None):
         """Return parsed objects returned from a POST request to ``path``.


Test patch:
diff --git a/tests/integration/cassettes/TestReddit.test_info_url.json b/tests/integration/cassettes/TestReddit.test_info_url.json
new file mode 100644
--- /dev/null
+++ b/tests/integration/cassettes/TestReddit.test_info_url.json
@@ -0,0 +1,111 @@
+{
+  "http_interactions": [
+    {
+      "recorded_at": "2017-06-06T04:11:50",
+      "request": {
+        "body": {
+          "encoding": "utf-8",
+          "string": "grant_type=client_credentials"
+        },
+        "headers": {
+          "Accept": "*/*",
+          "Accept-Encoding": "identity",
+          "Authorization": "Basic <BASIC_AUTH>",
+          "Connection": "keep-alive",
+          "Content-Length": "29",
+          "Content-Type": "application/x-www-form-urlencoded",
+          "User-Agent": "<USER_AGENT> PRAW/5.0.0.dev0 prawcore/0.10.1"
+        },
+        "method": "POST",
+        "uri": "https://www.reddit.com/api/v1/access_token"
+      },
+      "response": {
+        "body": {
+          "encoding": "UTF-8",
+          "string": "{\"access_token\": \"<ACCESS_TOKEN>\", \"token_type\": \"bearer\", \"expires_in\": 3600, \"scope\": \"*\"}"
+        },
+        "headers": {
+          "Accept-Ranges": "bytes",
+          "Connection": "keep-alive",
+          "Content-Length": "105",
+          "Content-Type": "application/json; charset=UTF-8",
+          "Date": "Tue, 06 Jun 2017 04:11:50 GMT",
+          "Server": "snooserv",
+          "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
+          "Via": "1.1 varnish",
+          "X-Cache": "MISS",
+          "X-Cache-Hits": "0",
+          "X-Moose": "majestic",
+          "X-Served-By": "cache-lax8648-LAX",
+          "X-Timer": "S1496722311.683152,VS0,VE86",
+          "cache-control": "max-age=0, must-revalidate",
+          "set-cookie": "session_tracker=POAMX7UacKZaCI9S5Y.0.1496722310720.Z0FBQUFBQlpOaXVHUUU2a3BsZzFGVWsyaGIxeDRJYURhLTdaOFBzb1J0VDVpOXU0U29QR3FWd0xIZEJHSk9Od0lfX3Itak90dUVjSGhvZWdjbTkzYUgxbElja2JDUm5oa0p1aEpGNW50b1BpdGUxWUg0NFVtNWVTU05BSlVjUW9tamYwVnZ3M1YxMmg; Domain=reddit.com; Max-Age=7199; Path=/; expires=Tue, 06-Jun-2017 06:11:50 GMT; secure",
+          "x-content-type-options": "nosniff",
+          "x-frame-options": "SAMEORIGIN",
+          "x-xss-protection": "1; mode=block"
+        },
+        "status": {
+          "code": 200,
+          "message": "OK"
+        },
+        "url": "https://www.reddit.com/api/v1/access_token"
+      }
+    },
+    {
+      "recorded_at": "2017-06-06T04:11:51",
+      "request": {
+        "body": {
+          "encoding": "utf-8",
+          "string": ""
+        },
+        "headers": {
+          "Accept": "*/*",
+          "Accept-Encoding": "identity",
+          "Authorization": "bearer <ACCESS_TOKEN>",
+          "Connection": "keep-alive",
+          "Cookie": "edgebucket=Zh6bTuqoyejQBg1FYQ; session_tracker=POAMX7UacKZaCI9S5Y.0.1496722310720.Z0FBQUFBQlpOaXVHUUU2a3BsZzFGVWsyaGIxeDRJYURhLTdaOFBzb1J0VDVpOXU0U29QR3FWd0xIZEJHSk9Od0lfX3Itak90dUVjSGhvZWdjbTkzYUgxbElja2JDUm5oa0p1aEpGNW50b1BpdGUxWUg0NFVtNWVTU05BSlVjUW9tamYwVnZ3M1YxMmg",
+          "User-Agent": "<USER_AGENT> PRAW/5.0.0.dev0 prawcore/0.10.1"
+        },
+        "method": "GET",
+        "uri": "https://oauth.reddit.com/api/info/?url=youtube.com&raw_json=1"
+      },
+      "response": {
+        "body": {
+          "encoding": "UTF-8",
+          "string": "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"\", \"children\": [{\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/locksport\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"locksport\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"6eudcy\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"Leonslockpad\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_6eudcy\", \"score\": 2, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2rfla\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/locksport/comments/6eudcy/leons_lockpad/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1496438909.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Leon's lockpad\", \"created_utc\": 1496410109.0, \"distinguished\": null, \"media\": null, \"num_comments\": 1, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 2}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"suggested_sort\": null, \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": 140, \"visited\": false, \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"domain\": \"youtube.com\", \"user_reports\": [], \"secure_media\": null, \"adserver_click_url\": null, \"link_flair_text\": null, \"id\": \"6eabl0\", \"promoted_by\": null, \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"Droppinbodies\", \"saved\": false, \"mod_reports\": [], \"original_link\": null, \"promoted_display_name\": null, \"score\": 1, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"https://b.thumbs.redditmedia.com/on2bwNRDEicuGmzs_47buCNA_oH4AjcJWpf7BmAJ1ME.PNG\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"promoted_url\": null, \"removal_reason\": null, \"permalink\": \"/comments/6eabl0/stuff/\", \"mobile_ad_url\": \"\", \"third_party_tracking_2\": null, \"can_gild\": false, \"thumbnail_height\": 127, \"author_id\": \"t2_9nnlj\", \"name\": \"t3_6eabl0\", \"spoiler\": false, \"third_party_trackers\": [], \"locked\": false, \"hide_score\": false, \"stickied\": false, \"created\": 1496208273.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"stuff\", \"created_utc\": 1496179473.0, \"href_url\": \"http://youtube.com\", \"third_party_tracking\": null, \"distinguished\": null, \"media\": null, \"imp_pixel\": null, \"is_self\": false, \"num_comments\": 0, \"promoted\": true, \"disable_comments\": false, \"adserver_imp_pixel\": null, \"num_reports\": null, \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/JETProgramme\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"JETProgramme\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"6chk1u\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"JETprogrammetest\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_6chk1u\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2w9xe\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/JETProgramme/comments/6chk1u/test/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1495414325.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Test\", \"created_utc\": 1495385525.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/hcfrevival\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"hcfrevival\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": \"confidence\", \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": \"Video\", \"id\": \"6cdwbn\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"rocksama\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_6cdwbn\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_3i185\", \"edited\": false, \"link_flair_css_class\": \"purple\", \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/hcfrevival/comments/6cdwbn/autoflair_video_test/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1495357271.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Autoflair video test\", \"created_utc\": 1495328471.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/youtube\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"youtube\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"6a7x7f\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"LTMG\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_6a7x7f\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2qh44\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/youtube/comments/6a7x7f/fresh_new_youtube_design/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1494389381.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Fresh, new Youtube design\", \"created_utc\": 1494360581.0, \"distinguished\": null, \"media\": null, \"num_comments\": 1, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/TIFL\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"TIFL\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"68vj98\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"CoolCow247\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_68vj98\", \"score\": 15, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_369kd\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/TIFL/comments/68vj98/tifl_that_no_one_has_posted_anything_for_12_months/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1493784143.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"TIFL that no one has posted anything for 12 months\", \"created_utc\": 1493755343.0, \"distinguished\": null, \"media\": null, \"num_comments\": 9, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 15}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/quania\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"quania\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": \"new\", \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"67eglj\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"Stemony\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_67eglj\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_3k5lu\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": \"css class 4 user flair\", \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/quania/comments/67eglj/test/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1493124491.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": \"Stemony\", \"quarantine\": false, \"title\": \"test\", \"created_utc\": 1493095691.0, \"distinguished\": null, \"media\": null, \"num_comments\": 1, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/Dominos\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"Dominos\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"66qivm\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"dominosawawkejfn\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_66qivm\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2tsak\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/Dominos/comments/66qivm/testing_1234/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1492823198.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"testing 1234\", \"created_utc\": 1492794398.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/Dominos\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"Dominos\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"66jkhj\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"pizzaqwertyuiop\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_66jkhj\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2tsak\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/Dominos/comments/66jkhj/best_pizza_ever/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1492741073.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"best pizza ever\", \"created_utc\": 1492712273.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/Dominos\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"Dominos\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"66jhxa\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"aefwefapizza\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_66jhxa\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2tsak\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/Dominos/comments/66jhxa/best_pizza/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1492740455.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"best pizza\", \"created_utc\": 1492711655.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/Dominos\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"Dominos\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"66j6m1\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"awefpizza\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_66j6m1\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2tsak\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/Dominos/comments/66j6m1/best_pizza_to_get_ever/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1492737735.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"best pizza to get ever\", \"created_utc\": 1492708935.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/gadgets\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"gadgets\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": \"Rule 4\", \"id\": \"663l0m\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"kscheinberg\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_663l0m\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2qgzt\", \"edited\": false, \"link_flair_css_class\": \"removed\", \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/gadgets/comments/663l0m/latest_chinese_electric_skateboards_from_86_to/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1492558685.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Latest Chinese Electric skateboards (from $86 to $3,000!!)\", \"created_utc\": 1492529885.0, \"distinguished\": null, \"media\": null, \"num_comments\": 1, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/BleachBraveSouls\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"BleachBraveSouls\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": \"Question\", \"id\": \"65pieg\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"BrooklynKing\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_65pieg\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_399jv\", \"edited\": false, \"link_flair_css_class\": \"tfques\", \"author_flair_css_class\": \"0457\", \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/BleachBraveSouls/comments/65pieg/is_there_a_video_of_tt_byakuya_with_a_nad_build/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1492383618.0, \"url\": \"http://youtube.com\", \"author_flair_text\": \"\", \"quarantine\": false, \"title\": \"Is there a video of TT Byakuya with a NAD build? Does he do about the same damage as Redpachi?\", \"created_utc\": 1492354818.0, \"distinguished\": null, \"media\": null, \"num_comments\": 2, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/test\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"test\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"644jpy\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"cs496dan\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_644jpy\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2qh23\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/test/comments/644jpy/hello/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1491644409.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"hello\", \"created_utc\": 1491615609.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/FreeKarma4You\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"FreeKarma4You\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"6411f0\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"MigoweOko\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_6411f0\", \"score\": 9, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_3f1iq\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/FreeKarma4You/comments/6411f0/i_want_some_karma_for_making_something_in/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1491607369.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"i want some karma for making something in minecraft please i have good ideas about this game please give me thunbs up and GIMME THAT KARMA\", \"created_utc\": 1491578569.0, \"distinguished\": null, \"media\": null, \"num_comments\": 2, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 9}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/todayilearned\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"todayilearned\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": \"(R.7) Software/website\", \"id\": \"62tj28\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"rebane2001\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_62tj28\", \"score\": 0, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2qqjc\", \"edited\": false, \"link_flair_css_class\": \"removed r7\", \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/todayilearned/comments/62tj28/til_that_today_all_videos_will_be_marked_with_mar/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1491090825.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"TIL that today, all videos will be marked with \\\"Mar 31, 2017\\\" instead of \\\"Apr 1, 2017\\\" (no, this TIL post is not an april fool's joke)\", \"created_utc\": 1491062025.0, \"distinguished\": null, \"media\": null, \"num_comments\": 5, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 0}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/Boxing\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"Boxing\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"62lzng\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"Idkwhateverbitch\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_62lzng\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2qj0l\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/Boxing/comments/62lzng/frank_mayweather_jr_jr_explodes_on_ggg_says_you/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1491004151.0, \"url\": \"http://YouTube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"FRANK MAYWEATHER JR JR EXPLODES ON GGG, SAYS \\\"YOU HAVEN'T GETTING THE WINS TO FIGHT THE MAN BILLIE JOEL SONDERS\\\"\\\"\", \"created_utc\": 1490975351.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/MMA\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"MMA\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"62lx7k\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"Idkwhateverbitch\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_62lx7k\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_2qhj4\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/MMA/comments/62lx7k/top_ten_brock_lesnar_wwf_fights/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1491003507.0, \"url\": \"http://YouTube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"TOP TEN BROCK LESNAR WWF FIGHTS\", \"created_utc\": 1490974707.0, \"distinguished\": null, \"media\": null, \"num_comments\": 2, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"suggested_sort\": null, \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"visited\": false, \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"domain\": \"youtube.com\", \"user_reports\": [], \"secure_media\": null, \"adserver_click_url\": null, \"link_flair_text\": null, \"id\": \"61qguu\", \"promoted_by\": null, \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"AvastON\", \"saved\": false, \"mod_reports\": [], \"original_link\": null, \"promoted_display_name\": null, \"score\": 1, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"default\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"promoted_url\": null, \"removal_reason\": null, \"permalink\": \"/comments/61qguu/\\u0431\\u043b\\u0430_\\u0431\\u043b\\u0430_\\u0431\\u043b\\u0430/\", \"mobile_ad_url\": \"\", \"third_party_tracking_2\": null, \"can_gild\": false, \"thumbnail_height\": null, \"author_id\": \"t2_b92cc\", \"name\": \"t3_61qguu\", \"spoiler\": false, \"third_party_trackers\": [], \"locked\": false, \"hide_score\": false, \"stickied\": false, \"created\": 1490622950.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"\\u0431\\u043b\\u0430 \\u0431\\u043b\\u0430 \\u0431\\u043b\\u0430\", \"created_utc\": 1490594150.0, \"href_url\": \"http://youtube.com\", \"third_party_tracking\": null, \"distinguished\": null, \"media\": null, \"imp_pixel\": null, \"is_self\": false, \"num_comments\": 0, \"promoted\": true, \"disable_comments\": false, \"adserver_imp_pixel\": null, \"num_reports\": null, \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"suggested_sort\": null, \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"visited\": false, \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"domain\": \"youtube.com\", \"user_reports\": [], \"secure_media\": null, \"adserver_click_url\": null, \"link_flair_text\": null, \"id\": \"61po9m\", \"promoted_by\": null, \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"ShesUncensored\", \"saved\": false, \"mod_reports\": [], \"original_link\": null, \"promoted_display_name\": null, \"score\": 1, \"approved_by\": null, \"over_18\": true, \"hidden\": false, \"thumbnail\": \"nsfw\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"promoted_url\": null, \"removal_reason\": null, \"permalink\": \"/comments/61po9m/test/\", \"mobile_ad_url\": \"\", \"third_party_tracking_2\": null, \"can_gild\": false, \"thumbnail_height\": null, \"author_id\": \"t2_fplcm\", \"name\": \"t3_61po9m\", \"spoiler\": false, \"third_party_trackers\": [], \"locked\": false, \"hide_score\": false, \"stickied\": false, \"created\": 1490611402.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"test\", \"created_utc\": 1490582602.0, \"href_url\": \"http://youtube.com\", \"third_party_tracking\": null, \"distinguished\": null, \"media\": null, \"imp_pixel\": null, \"is_self\": false, \"num_comments\": 0, \"promoted\": true, \"disable_comments\": false, \"adserver_imp_pixel\": null, \"num_reports\": null, \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"suggested_sort\": null, \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"visited\": false, \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"domain\": \"youtube.com\", \"user_reports\": [], \"secure_media\": null, \"adserver_click_url\": null, \"link_flair_text\": null, \"id\": \"61pmu1\", \"promoted_by\": null, \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"ShesUncensored\", \"saved\": false, \"mod_reports\": [], \"original_link\": null, \"promoted_display_name\": null, \"score\": 1, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"default\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"promoted_url\": null, \"removal_reason\": null, \"permalink\": \"/comments/61pmu1/test/\", \"mobile_ad_url\": \"\", \"third_party_tracking_2\": null, \"can_gild\": false, \"thumbnail_height\": null, \"author_id\": \"t2_fplcm\", \"name\": \"t3_61pmu1\", \"spoiler\": false, \"third_party_trackers\": [], \"locked\": false, \"hide_score\": false, \"stickied\": false, \"created\": 1490610897.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"test\", \"created_utc\": 1490582097.0, \"href_url\": \"http://youtube.com\", \"third_party_tracking\": null, \"distinguished\": null, \"media\": null, \"imp_pixel\": null, \"is_self\": false, \"num_comments\": 0, \"promoted\": true, \"disable_comments\": false, \"adserver_imp_pixel\": null, \"num_reports\": null, \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"suggested_sort\": null, \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"visited\": false, \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"domain\": \"youtube.com\", \"user_reports\": [], \"secure_media\": null, \"adserver_click_url\": null, \"link_flair_text\": null, \"id\": \"60uvur\", \"promoted_by\": null, \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"DonGoesMVlog\", \"saved\": false, \"mod_reports\": [], \"original_link\": null, \"promoted_display_name\": null, \"score\": 1, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"default\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"promoted_url\": null, \"removal_reason\": null, \"permalink\": \"/comments/60uvur/test_for_tests_sake/\", \"mobile_ad_url\": \"\", \"third_party_tracking_2\": null, \"can_gild\": false, \"thumbnail_height\": null, \"author_id\": \"t2_16ejbe\", \"name\": \"t3_60uvur\", \"spoiler\": false, \"third_party_trackers\": [], \"locked\": false, \"hide_score\": false, \"stickied\": false, \"created\": 1490221252.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Test for test's sake\", \"created_utc\": 1490192452.0, \"href_url\": \"http://www.youtube.com\", \"third_party_tracking\": null, \"distinguished\": null, \"media\": null, \"imp_pixel\": null, \"is_self\": false, \"num_comments\": 0, \"promoted\": true, \"disable_comments\": false, \"adserver_imp_pixel\": null, \"num_reports\": null, \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/OuijaIsFuckingLit\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"OuijaIsFuckingLit\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"5zr7sf\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"N1CK4ND0\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_5zr7sf\", \"score\": 1, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_3jjf0\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": false, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/OuijaIsFuckingLit/comments/5zr7sf/testing/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1489706758.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Testing\", \"created_utc\": 1489677958.0, \"distinguished\": null, \"media\": null, \"num_comments\": 0, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 1}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/PlanetDolan\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"PlanetDolan\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": null, \"id\": \"5yvd9f\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"jayson661\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_5yvd9f\", \"score\": 2, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_3e5p2\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/PlanetDolan/comments/5yvd9f/gooby/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1489300422.0, \"url\": \"http://youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"Gooby\", \"created_utc\": 1489271622.0, \"distinguished\": null, \"media\": null, \"num_comments\": 1, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 2}}, {\"kind\": \"t3\", \"data\": {\"contest_mode\": false, \"subreddit_name_prefixed\": \"r/battlefield_one\", \"banned_by\": null, \"media_embed\": {}, \"thumbnail_width\": null, \"subreddit\": \"battlefield_one\", \"selftext_html\": null, \"selftext\": \"\", \"likes\": null, \"suggested_sort\": null, \"user_reports\": [], \"secure_media\": null, \"link_flair_text\": \"Video\", \"id\": \"5ykr3e\", \"view_count\": null, \"secure_media_embed\": {}, \"clicked\": false, \"report_reasons\": null, \"author\": \"suelgregory\", \"saved\": false, \"mod_reports\": [], \"name\": \"t3_5ykr3e\", \"score\": 0, \"approved_by\": null, \"over_18\": false, \"domain\": \"youtube.com\", \"hidden\": false, \"thumbnail\": \"default\", \"subreddit_id\": \"t5_3eer4\", \"edited\": false, \"link_flair_css_class\": \"video\", \"author_flair_css_class\": null, \"gilded\": 0, \"downs\": 0, \"brand_safe\": true, \"archived\": false, \"removal_reason\": null, \"can_gild\": false, \"thumbnail_height\": null, \"hide_score\": false, \"spoiler\": false, \"permalink\": \"/r/battlefield_one/comments/5ykr3e/httpswwwyoutubecomwatchvxyhra96lllcfeatureshare/\", \"num_reports\": null, \"locked\": false, \"stickied\": false, \"created\": 1489158698.0, \"url\": \"http://www.youtube.com\", \"author_flair_text\": null, \"quarantine\": false, \"title\": \"https://www.youtube.com/watch?v=xyhRa96LLLc\\u0026feature=share\", \"created_utc\": 1489129898.0, \"distinguished\": null, \"media\": null, \"num_comments\": 2, \"is_self\": false, \"visited\": false, \"subreddit_type\": \"public\", \"ups\": 0}}], \"after\": null, \"before\": null}}"
+        },
+        "headers": {
+          "Accept-Ranges": "bytes",
+          "Connection": "keep-alive",
+          "Content-Length": "35223",
+          "Content-Type": "application/json; charset=UTF-8",
+          "Date": "Tue, 06 Jun 2017 04:11:51 GMT",
+          "Server": "snooserv",
+          "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
+          "Vary": "accept-encoding",
+          "Via": "1.1 varnish",
+          "X-Cache": "MISS",
+          "X-Cache-Hits": "0",
+          "X-Moose": "majestic",
+          "X-Served-By": "cache-lax8639-LAX",
+          "X-Timer": "S1496722311.916810,VS0,VE212",
+          "access-control-allow-origin": "*",
+          "access-control-expose-headers": "X-Reddit-Tracking, X-Moose",
+          "cache-control": "max-age=0, must-revalidate",
+          "set-cookie": "loid=0000000000038c0szg.2.1496722310964.Z0FBQUFBQlpOaXVIMldlS2wwaEl2ZGFKM0Z1RG5NNmgzMXhOX2YzZFFobG9xTllZZDAya3F0ZEZaYnFpLWFhVHhpT2oyRjBndThIWUFkdUR4Sk8wWXpITVBrWGJiNWFqZEdyMXpQYmRHaVhWN2llLUZ6OHRiajIyWUsyaVVmWkJVZ2tzcFZ6dGp0LVY; Domain=reddit.com; Max-Age=63071999; Path=/; expires=Thu, 06-Jun-2019 04:11:51 GMT; secure",
+          "x-content-type-options": "nosniff",
+          "x-frame-options": "SAMEORIGIN",
+          "x-reddit-tracking": "https://pixel.redditmedia.com/pixel/of_destiny.png?v=iOZ5y0PaSa881Bw3yl%2Fm%2FBAGGvmDVvULGFC%2Bo%2BUBxmaiC4VDb%2BrcPv5oWTDOXij834ogn7qBzCM%3D",
+          "x-ua-compatible": "IE=edge",
+          "x-xss-protection": "1; mode=block"
+        },
+        "status": {
+          "code": 200,
+          "message": "OK"
+        },
+        "url": "https://oauth.reddit.com/api/info/?url=youtube.com&raw_json=1"
+      }
+    }
+  ],
+  "recorded_with": "betamax/0.8.0"
+}
\ No newline at end of file
diff --git a/tests/integration/test_reddit.py b/tests/integration/test_reddit.py
--- a/tests/integration/test_reddit.py
+++ b/tests/integration/test_reddit.py
@@ -1,6 +1,7 @@
 """Test praw.reddit."""
 from praw.models import LiveThread
 from praw.models.reddit.base import RedditBase
+from praw.models.reddit.submission import Submission
 import mock
 
 from . import IntegrationTest
@@ -21,6 +22,13 @@ def test_info(self):
         for item in results:
             assert isinstance(item, RedditBase)
 
+    def test_info_url(self):
+        with self.recorder.use_cassette('TestReddit.test_info_url'):
+            results = self.reddit.info(url='youtube.com')
+        assert len(results) > 0
+        for item in results:
+            assert isinstance(item, Submission)
+
     @mock.patch('time.sleep', return_value=None)
     def test_live_call(self, _):
         thread_id = 'ukaeu1ik4sw5'
diff --git a/tests/unit/test_reddit.py b/tests/unit/test_reddit.py
--- a/tests/unit/test_reddit.py
+++ b/tests/unit/test_reddit.py
@@ -41,6 +41,19 @@ def test_info__invalid_param(self):
         with pytest.raises(TypeError) as excinfo:
             print(self.reddit.info(None))
 
+        err_str = 'Either `fullnames` or `url` must be provided.'
+        assert str(excinfo.value) == err_str
+
+    def test_info__invalid_url(self):
+        with pytest.raises(TypeError) as excinfo:
+            print(self.reddit.info(url='NoTaReAlUrL'))
+
+        assert str(excinfo.value == 'Invalid URL or no posts exist')
+
+    def test_info__not_list(self):
+        with pytest.raises(TypeError) as excinfo:
+            print(self.reddit.info('Let\'s try a string'))
+
         assert str(excinfo.value) == 'fullnames must be a list'
 
     def test_live_info__valid_param(self):