Bilibili: add multi-P support, fix #377