GithubHelp home page GithubHelp logo

vbpl-web-crawl's People

Contributors

hahongdo avatar

Watchers

 avatar

Forkers

minh0511

vbpl-web-crawl's Issues

Process Anle PDF

Process Anle PDF to get context, solution and content of Anle

Enhance re-crawl ability

Make some changes to enhance re-crawl ability:
-When crawling single vbpl/anle, do an upsert instead of add
-When crawling single vbpl/anle, upsert related document, doc map
-Crawl doc pdf is now a separate function, add this when crawling single vbpl/anle as well

Write a function to return a preview

The client wants to see a preview of the current database because it's too large, so far he only requires 2 input parameters: the number of rows and their gazzette date. Example: export the newest 500 vbpl (this can be interpreted as input sql rows) along with their pdfs/docs.
Write a function that exports an sql script (similar to a dump file) and a rar file containing all the pdfs/docs of the input sql rows.

Get VBPL info

Get and process VBPL info retrieved from vbpl.vn to save into the database

Build cmd UI

Build cmd UI with the following functions:
-crawl all vbpl
-crawl all anle
-fetch one vbpl (fetch all info exclude html and full text, when fetching doc_map and related_doc, only show title and sub title of the referenced document. E.g: vbpl with id = A has related_doc id = B then only shows title and sub_title of vbpl with id = B)
-fetch one anle (fetch all info exclude anle section)
Note: when fetching, if effective_date < now and the document status is "Chưa có hiệu lực", update it to "Có hiệu lực"

process .doc and .docx file

Currently anle can have both .doc and .pdf file formats. In case that it's not pdf, we need to convert it to pdf to process anle sections, but we won't save it in pdf format (because our client prefers .doc and .docs format).

Recommended tool: docx2pdf

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.