Bilibili class and SetOPT