Skip to content

splitline/genius-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genius-url

A URL builder for genius :D

Usage

Step 0x01

Just import it.

from gurl import genius_url

Step 0x02

Using @genius_url as a function decorator, then you are able to build any url in this way!

@genius_url
def any_function_you_want():
  url = create.your.cool.url/in_this/way.lol
  ...

Example

from gurl import genius_url

@genius_url
def do_request():
    # note that this is an expression, not a string!
    url = www.httpbin.org/anything/test/'[special-path]'/index.html

    print("[+] request to", url)
    return url (method='POST')

print(do_request().json())

About

A URL builder for genius :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages