Code Monkey home page Code Monkey logo

ngapost2md-1's Introduction

ngapost2md ver.[2]

快速爬楼存回复人+时间+内容,支持保存正文图片、音视频等,支持常见 bbcode 格式(具体见 README 后半部分)。

2022 年新版在每次运行前,会访问 gitee 以检查版本信息,若有新版会提示并自行退出,请下载最新版本代码(nga.pynga_format.py)运行即可。若出现问题请自行移除相关检查更新代码。

使用指引

  1. 把nga.py 和 nga_format.py 下下来,修改前者代码文件内的 cookies(cookies是自己账号登录后的具体内容)

  2. smile.zip解压,确保smile文件夹(里面就是各种ac娘表情包)和nga.py在同一个目录下

  3. 双击启动输入 tid 即可,之后会反显爬楼爬页的情况和下图片的情况

  4. 最后会在 nga.py 所在的目录下出一个新的以 tid 命名的文件夹,里面有 post.md 直接查看就行。info.txt 可以看标题和每次增量的具体信息(以及错误信息)。

图片快速指引

image-20200414232616854

image-20200414232733377

image-20200414232929882

postmd2

image-20200414233052905

资瓷与不资瓷格式说明

资瓷的有:

  • newline 换行
  • pic 图片(会下载下来)
  • smile 表情(只是引用在线资源)
  • quote 回复与引用(阔以 jump 和 append 在最后 #12)(多个 quote #33
  • strikeout 删除线
  • url 超链接
  • align 对齐
  • collapse 折叠 (#10
  • anony 匿名 (#11
  • audio 音频 (#15
  • video 音频

不资瓷并且常出现的有:

  • 字体颜色啊大小之类的格式
  • 表格之类的复杂排版

Special Thanks

特别感谢 crella6 的捉虫以及意见!

ngapost2md-1's People

Contributors

ludoux avatar

Watchers

James Cloos avatar

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.