Closed yourmomlover closed 7 months ago
Hi, thanks for your Issue.
Is the codeblock you shared for a Discord Bot? And I don't understand where exactly the issue happened.
You are talking about the "No scheme supplied" I guess.
But at which point does that occur? I can't read it from your script and I didn't find this issue.
While you've written this I actually worked a lot on EPorner, so maybe you uninstall the library and reinstall it from my GitHub.
You can do this by doing:
pip install git+https://github.com/EchterAlsFake/EPorner_API
yeah its for a discord bot using the nextcord library , i think the issue is related to the response url as this is fSv0S5alPY2
probably the unique identifier for the vid that is used in the url but the url format isn't right is my best guess , ill try the repo ig
Yes, try the repo and let me know :)
i tried many ways , im pretty sure the link it returns is broken as it only sends the unique video code like fSv0S5alPY2
instead of a full link like https://www.eporner.com/video-KdvrY24MSrc/too-cute-for-porn/
in this link u can see the unique code it provides KdvrY24MSrc
, i tried to hardcode it to convert this into the actual link by getting the title and along with the url and formatting it but it dosent work , and yes i did install the git repo
Okay I'll look into it.
Should be fixed now. The issue was, that I was extracting the ID instead of the URL from the json response. I don't know why I did this lol.
sheesh works nicely and btw the video.download() spelling is wrong in the docs , just letting u know lmao
Okay thanks xD
from eporner_api.eporner_api import Client, Quality, Order, Gay, LowQuality, Encoding
Add other commands as needed
sent_eporner_links = set()
@client.command(name='eporner_search') async def eporner_search(ctx, query, num_links: int = 1): eporner_client = Client() # Create the client without enable_html_scraping