Open letterale opened 1 year ago
Thank you for your support and yes, obviously i'm a curius newbbie who trying to learn.
The site is eroprofile.com, the error is invalid syntax (custom_1.py, line 45), look file attach. eroprofile.zip
Now i still work with window but if this custom site work right, i would like instal in nvidia shield also.
@letterale
The site is eroprofile.com, the error is invalid syntax (custom_1.py, line 45), look file attach.
Line 44 is the problem it is truncated, missing code at the end
currently it is match = re.compile(r'bg-black"><a href="([^"]+).+?<div class="videoTtl" title="([^"]+)', re.DOTALL
It is missing | re.IGNORECASE).findall(listhtml)
that is supposed to be in the end of that line
Also you are passing title for the thumbnail instead of actual img url. custom-eroprofile.zip Here is the corrected zip
@Gujal00
Thanks for this. I have added this and other custom sites that i have collected together under this topic Cumination - "Custom Sites" How does it work? that i have also pinned.
thank you all, I only passed the URL and the video title just to simplify this first attempt, if I understand what I do, I will try with other elements.
et voilà, added category and search. now its fine ;-) custom-eroprofile.zip
I love this, this is one of main reasons why custom sites was added. To give others an option or something to experiment with for adding their favorite sites to Cumination :)
And it can be any site they want, even non xxx sites.
I have something for you to check out. When you select a category & hit next page, the first page reloads. It also happens after you do a search. The next page won't load. It would still be the first page.
You're right, too much enthusiasm did not make me check well. Now I have changed it, even the pagination in the categories and in the search it seems to me ok.
If someone can confirm, then I try to update the zip also in the other discussion
Is there a good guide or something on how to create a custom site?
Or some place where people can share ones they have created?
@TapeMeOh if you know python, then you can easily replicate using the various examples on this pinned thread
Hi, I am trying to add a custom site but, once installed and enabled, I receive error via popup window that warns me that it will be disabled.
I guess there is a debug option somewhere but I still don't understand where to look for it. Ask: there is an option to add (in the Custom site code or in some other file) to understand what has gone wrong, what kind of error it is or what line of the Custom site code generates the error.
Can someone help me?