Code Monkey home page Code Monkey logo

bilibili_blacklist's Introduction

👋 Hello there. I'm Harry Yu. I studied Software Engineering @ University of Waterloo. Previously interned @ Citadel, Snowflake, Shopify, ByteDance, Faire.

❤️Coding for Fun.

  • 🏠 Born in China and study in Canada
  • 🦋 Believer of elegant code
  • 🖥️ Backend, Frontend, DevOps, Android, Graphics, Games, CTF, Puzzle hunt
  • 📖 Self-motivated learner, coding since 10-yr-old
  • 🎮 Gamer (from indie to 3A)

bilibili_blacklist's People

Contributors

ciring avatar dependabot[bot] avatar gesrua avatar harrynull avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bilibili_blacklist's Issues

加载分享列表过于缓慢

向他人介绍这个网站时发现第一次加载页面中分享列表部分时使用了太长时间, 多刷新没有效果, 在向那个人解释网站可能出了点问题并且准备写issue的时候发现终于加载完了..
我建议分页显示出来, 也许能够加快加载速度, 否则很多人会误以为网站出错, 挺可惜的...

第四步安装出错

如下,且使用npm与cnpm没有区别,nodejs和npm都是最新版,mongodb已通过宝塔安装

`[root@iZva01gaj2xsb8Z bilibili_blacklist]# cnpm install
✔ Installed 18 packages
✔ Linked 149 latest versions
[1/1] scripts.postinstall ejs@^2.5.6 run "node ./postinstall.js", root: "/www/wwwroot/bilibili/bilibili_blacklist/node_modules/_ejs@2.7.4@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

[1/1] scripts.postinstall ejs@^2.5.6 finished in 97ms
✔ Run 1 scripts
deprecate @types/[email protected] › @types/form-data@* This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.
deprecate [email protected] › superagent@^3.8.3 Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
Recently updated (since 2020-02-15): 1 packages (detail see file /www/wwwroot/bilibili/bilibili_blacklist/node_modules/.recently_updates.txt)
✔ All packages installed (181 packages installed from npm registry, used 6s(network 6s), speed 1.74MB/s, json 167(579.56kB), tarball 9.71MB)
[root@iZva01gaj2xsb8Z bilibili_blacklist]# cnpm run build && node .

[email protected] build /www/wwwroot/bilibili/bilibili_blacklist
tsc

node_modules/_@[email protected]@@types/mongodb/index.d.ts:878:7 - error TS2304: Cannot find name 'unknown'.

878 unknown extends U ? ObjectId : U
~~~~~~~

src/database.ts:38:93 - error TS2314: Generic type 'InsertOneWriteOpResult' requires 1 type argument(s).

38 public insertOne(tableName: string, data: any, afterDoneSuccessfully: OperationCallback<mongo.InsertOneWriteOpResult>) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-22T01_01_51_266Z-debug.log
`

需要Tag

使用tag进行针对于某些(某种)视频/up主的屏蔽
例如游戏区/番剧区/科技区的屏蔽词区别较大,可以使用tag进行筛选。

应用失败

返回code空
Cannot read property 'code' of null at un. (script.js:25)

网站现在进不去吗?

Proxy Error
The proxy server could not handle the request GET /bilibili/.
Reason: Error during SSL Handshake with remote server

Apache/2.4.18 (Ubuntu) Server at harrynull.tech Port 443

点了应用没有反应

开发者辛苦了,在微博看到了之后立马就使用了,顺便推荐了朋友们,但是点了应用后,在B站上并没有反应。。希望能够完善,加油ヾ(◍°∇°◍)ノ゙

在线编辑功能

发布完屏蔽列表后发现无法编辑,有点错误都得从头重新发布,蛋疼啊……

能将MongoDB的相关配置独立出来吗?

希望能够将MongoDB的服务地址和端口等信息独立成配置,配置文件也行、配置参数也行,然后这样方便进行Docker打包。
或者能提供官方Docker镜像更好。

为什么网站的数据都消失了?

网站非常好,最近不小心把浏览器cookie给清了,屏蔽词都没了,来这网站找的时候发现数据都没了,问一下是怎么回事

屏蔽用户的马太效应

如果“先添加X人以上屏蔽的用户,再反过来上传屏蔽用户”的操作过多的话,那么最后会让先上传的被屏蔽用户(不一定是客观上被人屏蔽多的用户)的屏蔽量像滚雪球一样累积起来,不一定能达到很好的效果……

本地编译报对象类型错误

报错信息如下:

src/website_apis.ts(59,29): error TS2345: Argument of type 'string | ParsedQs | string[] | ParsedQs[] | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.
src/website_apis.ts(63,78): error TS2339: Property 'split' does not exist on type 'string | ParsedQs | string[] | ParsedQs[]'.
  Property 'split' does not exist on type 'string[]'.
src/website_apis.ts(69,55): error TS2345: Argument of type 'string | ParsedQs | string[] | ParsedQs[]' is not assignable to parameter of type 'string | [string, number][] | { [key: string]: number | { $meta?: "textScore" | "indexKey" | undefined; }; } | { [x: string]: number | { $meta?: "textScore" | "indexKey" | undefined; } | undefined; }'.
  Type 'ParsedQs' is not assignable to type 'string | [string, number][] | { [key: string]: number | { $meta?: "textScore" | "indexKey" | undefined; }; } | { [x: string]: number | { $meta?: "textScore" | "indexKey" | undefined; } | undefined; }'.
    Type 'ParsedQs' is not assignable to type 'string'.
src/website_apis.ts(215,31): error TS2345: Argument of type 'string | ParsedQs | string[] | ParsedQs[] | undefined' is not assignable to parameter of type 'string'.
  Type 'undefined' is not assignable to type 'string'.

xml导出 建议

建议直接每个关键词包都能导出xml,这样既不用登录,也不会因为突发而失败,直接从网页端导入xml就行,求求你了,现在这个模式我觉得很不方便

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.