diff --git a/test/test5.py b/test/test5.py index 66bf073c..c452528d 100644 --- a/test/test5.py +++ b/test/test5.py @@ -4,11 +4,11 @@ google = Google() res = google.search("https://media.discordapp.net/attachments/783138508038471701/813452582948306974/hl-18-1-900x1280.png?width=314&height=447") -#res = ascii2d.search(r'C:/kitUIN/img/tinted-good.jpg') # Search Image URL or path +#res = google.search(r'C:/kitUIN/img/tinted-good.jpg') # Search Image URL or path logger.info(res.origin) # Original Data logger.info(res.raw) # Raw Data # Should start from index 2, because from there is matching image -logger.info(res.raw[2]) # -logger.info(res.raw[2].thumbnail[0]) # None +logger.info(res.raw[2]) # +logger.info(res.raw[2].thumbnail[0]) # No directable url logger.info(res.raw[2].titles[0]) # The Strongest Dull Prince's Secret Battle for the Throne ... logger.info(res.raw[2].urls[0]) # https://kiryuu.co/the-strongest-dull-princes-secret-battle-for-the-throne-chapter-3-bahasa-indonesia/ \ No newline at end of file