This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Gemini Web Redirecting Fix | |
| // @namespace https://github.com/if1y | |
| // @version 1.0-20251105 | |
| // @description Append /app path for Gemini Web. | |
| // @author if1y | |
| // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAAAXNSR0IArs4c6QAAEGxJREFUWEetmHmUXGWZh5+739qrurqqu9PddLZOp5MmCyEkIZ2FNBAyJARECBiWYVAgMuoomzoqKIgIOIPOmAxMEDNy0AHRhBAWBUFIgBAQCCQkZCW9pJfqpfa73zlVHB1RHHVm7r+37vme+r3v93sXgf/Fc/ct19UGaqLLHfyFjizNkBVtoYoIho1vWMgeaIg7VEHa7fneDkHSn/7E9ddn/tqjhL/mg7tu+9qqRDx2pe9bq33BoeyY5AwDVdWQPPBNGx2JsKqjIOJYFq7jIkgijuBvEVX1/k/ecPPWv/TMvwjuvnvuXl4uFr/i+26nJPogeoxlhxBkEcuxyeXyWGWjCii5PrqsMPGE8bS1tlIqlXE8j6JRpnewn3Etzdszo6O3feaL3376z0H+j3C+j3D/v9z5/dHBzDpZkkgmEhw8tJ9SOcdodoh4PEp2bAx8D0WS0WQFCRFVUUjVJEnVpqitTREKhzFtmzd2v0W+VEQPBalNpzZcdcNd1woC/p+C/JNw6+/5SptXdH7kWf7c4cEMTY2NhMNBtr/4HILkYTtlVEVEcF0i4RCu65LL5QgFw7S0tBAKhSgWS0SjMZLJJIlkkoHBQZ599tnqu3giwUg2vyuabr70q3du2P9RgB8Jt/5bX5xjFovbyoVy3fDAMIlYDVNaW+ntPcZ7B/ZyQksDpVKW7EiGmmgUo1jEch18hGoIVV1nytQ2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Spiritlhl Paste Style Fix | |
| // @namespace https://github.com/if1y | |
| // @version 1.0-20241119 | |
| // @description No more dark background in the first screen. | |
| // @author if1y | |
| // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAAAXNSR0IArs4c6QAAEGxJREFUWEetmHmUXGWZh5+739qrurqqu9PddLZOp5MmCyEkIZ2FNBAyJARECBiWYVAgMuoomzoqKIgIOIPOmAxMEDNy0AHRhBAWBUFIgBAQCCQkZCW9pJfqpfa73zlVHB1RHHVm7r+37vme+r3v93sXgf/Fc/ct19UGaqLLHfyFjizNkBVtoYoIho1vWMgeaIg7VEHa7fneDkHSn/7E9ddn/tqjhL/mg7tu+9qqRDx2pe9bq33BoeyY5AwDVdWQPPBNGx2JsKqjIOJYFq7jIkgijuBvEVX1/k/ecPPWv/TMvwjuvnvuXl4uFr/i+26nJPogeoxlhxBkEcuxyeXyWGWjCii5PrqsMPGE8bS1tlIqlXE8j6JRpnewn3Etzdszo6O3feaL3376z0H+j3C+j3D/v9z5/dHBzDpZkkgmEhw8tJ9SOcdodoh4PEp2bAx8D0WS0WQFCRFVUUjVJEnVpqitTREKhzFtmzd2v0W+VEQPBalNpzZcdcNd1woC/p+C/JNw6+/5SptXdH7kWf7c4cEMTY2NhMNBtr/4HILkYTtlVEVEcF0i4RCu65LL5QgFw7S0tBAKhSgWS0SjMZLJJIlkkoHBQZ599tnqu3giwUg2vyuabr70q3du2P9RgB8Jt/5bX5xjFovbyoVy3fDAMIlYDVNaW+ntPcZ7B/ZyQksDpVKW7EiGmmgUo1jEch18h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from BiliClient import asyncbili | |
| from .push_message_task import webhook | |
| import logging, json | |
| uid_map = { | |
| 17561219: "直播小喇叭" | |
| } | |
| async def msg_notify_task(biliapi: asyncbili, | |
| task_config: dict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from BiliClient import asyncbili | |
| from .push_message_task import webhook | |
| import logging, asyncio, uuid, time, aiohttp | |
| async def xlive_anchor_defined_task(biliapi: asyncbili, | |
| task_config: dict | |
| ) -> None: | |
| room_task = [anchor_task(biliapi, x, task_config) for x in task_config["rooms_id"]] | |
| if room_task: | |
| await asyncio.wait(room_task) |