Skip to main content

mediascraper

Scraper!!

Example :

..

from discord import Embed
from discord.ext import commands

import mediascraper

hh = mediascraper.HentaiHaven()
ph = mediascraper.PornHub()
r34 = mediascraper.Rule34()
gb = mediascraper.Gelbooru()

class Media(commands.Cog):
    def __init__(self, bot):
        self.bot = bot


    @commands.command(aliases=['hh', 'hentai', 'hentaihaven'])
    async def hentai_haven(self, ctx, *args):
        video = await hh.category_search(str(" ").join(args))
        await ctx.send(video)

    @commands.command(aliases=['ph', 'porn', 'pornhub'])
    async def porn_hub(self, ctx, *args):
        video = await ph.video_search(str(" ").join(args))
        await ctx.send(video)

    @commands.command(alias=['r34', 'rule34'])
    async def rule34(self, ctx, *args):
        image = await r34.image_search(str(" ").join(args))
        await ctx.send(image)

    @commands.command(alias=['r34all', 'rule34all'])
    async def rule34all(self, ctx, *args):
        images = await r34.image_searchall(str(" ").join(args))
        for image in images:
            await ctx.send(image)

    @commands.command(aliases=['gbooru', 'gb'])
    async def gelbooru(self, ctx, *args):
        image = await gb.image_search(str(" ").join(args))
        await ctx.send(image)


def setup(bot):
    bot.add_cog(Media(bot))

..    

Metadata

Release files for mediascraper 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mediascraper 0.0.2
File Interpreter ABI Platform
mediascraper-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / mediascraper-0.0.2-py3-none-any.whl

Download URL mediascraper-0.0.2-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd5f278256163f8d34c056bd2e063b4a4024b29b00d297bd6abef5b4f3c16bcf
BLAKE2b-256 checksum
How to use checksums
abcb70ab5a0b65ec72384933b1ea36c99b48e1c6dfe689b525066335b691a171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.3 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

Security for mediascraper 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page