From 123feea85ec6b9a723888739245e16ab97650255 Mon Sep 17 00:00:00 2001 From: lleans Date: Fri, 26 Feb 2021 21:29:59 +0700 Subject: [PATCH] change results in example test5.py --- test/test5.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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