Git Product home page Git Product logo

dnbr's People

Contributors

hggggbggjy avatar

dnbr's Issues

import random # # Credit to @Soud69 # t.me/Soudchat # proxylist = open("proxy.txt", "r").read().splitlines proxtype = int(input("""[Proxy Type] 1) HTTP/S 2) Socks4 3) Socks5 >> """) randomproxy = random.choice(proxylist) if proxytype == 1: proxy_dict = { 'http': "http://" + randomproxy, 'https': "https://" + randomproxy } elif proxtype == 2: proxy_dict = { 'http': "socks4://" + randomproxy, 'https': "socks4://" + randomproxy } elif proxtype == 3: proxy_dict = { 'http': "socks5://" + randomproxy, 'https': "socks5://" + randomproxy }

http://api.ipstack.com/

{
"ip": "134.201.250.155",
"hostname": "134.201.250.155",
"type": "ipv4",
"continent_code": "NA",
"continent_name": "North America",
"country_code": "US",
"country_name": "United States",
"region_code": "CA",
"region_name": "California",
"city": "Los Angeles",
"zip": "90013",
"latitude": 34.0453,
"longitude": -118.2413,
"location": {
"geoname_id": 5368361,
"capital": "Washington D.C.",
"languages": [
{
"code": "en",
"name": "English",
"native": "English"
}
],
"country_flag": "https://assets.ipstack.com/images/assets/flags_svg/us.svg",
"country_flag_emoji": "πŸ‡ΊπŸ‡Έ",
"country_flag_emoji_unicode": "U+1F1FA U+1F1F8",
"calling_code": "1",
"is_eu": false
},
"time_zone": {
"id": "America/Los_Angeles",
"current_time": "2018-03-29T07:35:08-07:00",
"gmt_offset": -25200,
"code": "PDT",
"is_daylight_saving": true
},
"currency": {
"code": "USD",
"name": "US Dollar",
"plural": "US dollars",
"symbol": "$",
"symbol_native": "$"
},
"connection": {
"asn": 25876,
"isp": "Los Angeles Department of Water & Power"
},
"security": {
"is_proxy": false,
"proxy_type": null,
"is_crawler": false,
"crawler_name": null,
"crawler_type": null,
"is_tor": false,
"threat_level": "low",
"threat_types": null
}
}

N

{
"ip":"51.36.188.48",
"type":"ipv4",
"continent_code":"AS",
"continent_name":"Asia",
"country_code":"SA",
"country_name":"Saudi Arabia",
"region_code":"01",
"region_name":"Ar Riy\u0101\u1e11",
"city":"Riyadh",
"zip":"11142",
"latitude":24.68773078918457,
"longitude":46.72185134887695,
"location":{
"geoname_id":108410,
"capital":"Riyadh",
"languages":[
{
"code":"ar",
"name":"Arabic",
"native":"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",
"rtl":1
}
],
"country_flag":"http://assets.ipstack.com/flags/sa.svg",
"country_flag_emoji":"\ud83c\uddf8\ud83c\udde6",
"country_flag_emoji_unicode":"U+1F1F8 U+1F1E6",
"calling_code":"966",
"is_eu":false
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.