Skip to content

0.1.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 28 Sep 15:45
· 64 commits to master since this release

Features 🎉

  • RSSerpent now builds docker images! Check out Docker Hub & GitHub Container Registry
  • RSSerpent core has made a set of recommended best practices for writing plugins available to plugin authors through nitpick
  • RSSerpent ships some builtin tools for writing plugins, based on httpx, pyquery, and pyppeteer
    from rsserpent.utils import Browser, HTTPClient
    
    # browser emulation - for sites with javascript
    async with Browser() as browser:
        await browser.goto("https://httpbin.org/html")
        content = await browser.content()
    
    # send plain HTTP requests with httpx
    async with HTTPClient() as client:
        response = await client.get("https://httpbin.org/get")
        data = response.json()