circe/core.py
def _decode(bookmarks: List[Dict]) -> bytes:
        """ Combines, decodes, and decompresses data from a list of randomly-ordered bookmark dictionaries. """
        buffer = []
        for entry in sorted(bookmarks, key=lambda b: int(b["url"].rsplit("&cc=", maxsplit=1)[-1])):
            b64_chunk = urllib.parse.parse_qs(entry["url"])["gs_lcp"][0].replace(" ", "+").encode()
            buffer.append(b64_chunk)
        return gzip.decompress(base64.b64decode(b"".join(buffer)))
 Combines, decodes, and decompresses data from a list of randomly-ordered bookmark dictionaries. 
Combines, decodes, and decompresses data from a list of randomly-ordered bookmark dictionaries.
Combines decodes and decompresses data from a list of randomly - ordered bookmark dictionaries .
def _decode(bookmarks: List[Dict]) -> bytes:
        buffer = []
        for entry in sorted(bookmarks, key=lambda b: int(b["url"].rsplit("&cc=", maxsplit=1)[-1])):
            b64_chunk = urllib.parse.parse_qs(entry["url"])["gs_lcp"][0].replace(" ", "+").encode()
            buffer.append(b64_chunk)
        return gzip.decompress(base64.b64decode(b"".join(buffer)))
def _decode ( bookmarks : List [ Dict ] ) -> bytes : buffer = [ ] for entry in sorted ( bookmarks , key = lambda b : int ( b [ "url" ] . rsplit ( "&cc=" , maxsplit = 1 ) [ - 1 ] ) ) : b64_chunk = urllib . parse . parse_qs ( entry [ "url" ] ) [ "gs_lcp" ] [ 0 ] . replace ( " " , "+" ) . encode ( ) buffer . append ( b64_chunk ) return gzip . decompress ( base64 . b64decode ( b"" . join ( buffer ) ) )
Combines, decodes, and decompresses data from a list of randomly-ordered bookmark dictionaries.
Combines decodes and decompresses data from a list of randomly - ordered bookmark dictionaries .
""" Combines, decodes, and decompresses data from a list of randomly-ordered bookmark dictionaries. """
bookmarks
List[Dict]