GHC 2020-01-14

2 comments.

, https://git.io/JvJMo in jarun/googler
Btw here's a patch for this new layout:

```diff
diff --git a/googler b/googler
index 8a51a8a..97885e6 100755
--- a/googler
+++ b/googler
@@ -2239,6 +2239,23 @@ class GoogleParser(object):
             self.results.append(Result(index, title, url, abstract,
                                        metadata=metadata, sitelinks=sitelinks, matches=matched_keywords))
 
+        if not self.results:
+            for card in tree.select_all('g-card'):
+                a = card.select('a[href]')
+                if not a:
+                    continue
+                url = self.unwrap_link(a.attr('href'))
+                text_nodes = []
+                for node in a.descendants():
+                    if isinstance(node, TextNode) and node.strip():
+                        text_nodes.append(node.text)
+                if len(text_nodes) != 4:
+                    continue
+                publisher, title, abstract, publishing_time = text_nodes
+                metadata = '%s, %s' % (publisher, publishing_time)
+                index += 1
+                self.results.append(Result(index, title, url, abstract, metadata=metadata))
+
         # Showing results for ...
         # Search instead for ...
         spell_orig = tree.select("span.spell_orig")
```

Due to these parser-sabotaging changes, the parser is unfortunately becoming increasingly less resistant to future changes.

, https://git.io/JvJXb in jarun/googler
Now I’m seeing this new layout too. As always we wait 24 hours (let’s say from the first time a maintainer was able to reproduce, which is now).