Skip to content

Instantly share code, notes, and snippets.

View PRO-2684's full-sized avatar
πŸͺ„
Making the world a better place

PRO PRO-2684

πŸͺ„
Making the world a better place
View GitHub Profile
@PRO-2684
PRO-2684 / readme.md
Created December 13, 2023 15:11
Self-use blacklist for browser plugin [uBlacklist](https://iorate.github.io/ublacklist/docs)

This gist contains my self-use blacklist for browser plugin uBlacklist.

Each website in this list satisfies at lease one of the following criteria:

  • Annoying
    • Contains unacceptable ads / too annoying pop-ups
  • Needs login to see full article
  • Low quality content
    • Simply machine translate other websites
  • Wrong / misleading content
@PRO-2684
PRO-2684 / meijuwo.py
Created January 4, 2023 14:39
Bulk download teleplays at meijuwo.
from requests import Session
from re import match, search
from bs4 import BeautifulSoup as bs
from os import system, chdir
class Teleplay:
def __init__(self, url: str) -> None:
'''Initialize a teleplay. `url` be like: `https://www.meijuwo.net/play/5940-1-1/`.'''
m = match(r'(https://www.meijuwo.net/play/\d+-\d+-)\d+', url)
🌞 Morning 33 commits β–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 13.8%
πŸŒ† Daytime 81 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 33.9%
πŸŒƒ Evening 125 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 52.3%
πŸŒ™ Night 0 commits β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.0%