Skip to content

Instantly share code, notes, and snippets.

View dEN5-tech's full-sized avatar
🏠
Working from home

dEN5 dEN5-tech

🏠
Working from home
View GitHub Profile
@dEN5-tech
dEN5-tech / gist:792da7d6f05232fcb7fd4f52c4064e33
Created January 7, 2022 16:28
python | parse yandex images | requests | json | params | search by image | search by word
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import json
import sys
from pprint import pprint
from html_to_json import convert as cnv
from random import randint
from lxml.html.clean import Cleaner
import lxml
@dEN5-tech
dEN5-tech / parse_yandex_images.py
Last active January 7, 2022 16:23
python | parse yandex images | requests | json | params
#created dEN5#7360 (DISCORD)
#USE https://curl.trillworks.com/
import requests
import json
from bs4 import BeautifulSoup as bs
type_img_d= {
"gif":"gifan",
"png":"png",