Git Product home page Git Product logo

b4u-to-anki's Introduction

This program converts Before You Know It .b4u files to tab-delimited files suitable for importing into Anki.

This program is based on grantcox/b4u_reader. grantcox did the heavy lifting of actually interpreting the b4u file format. Thanks!

This requires Python 2.7. Try python read.py --help for hints on how to use it, or try running python read.py your_deck.b4u. BEWARE that command will create an output directory under your current directory, or if that directory already exists then this program will happily overwrite any files in it!

This is a very quick hack for a friend, but if you find bugs or would like other features, feel free to get in touch or open an issue and I may oblige.

b4u-to-anki's People

Contributors

dsedivec avatar grantcox avatar

Watchers

 avatar  avatar  avatar

b4u-to-anki's Issues

Unicode error with arabic b4u files

Hi, the code works just fine with several files but i got some errores with arabic files.
Example:
b4u file:
http://www.byki.com/reply_w_2.plex?fi=10000000242056

Command:
python read.py -o exampledir --no-strip-html --ogg example.b4u

Error:
Traceback (most recent call last):
File "read.py", line 423, in
main()
File "read.py", line 418, in main
exporter.export(deck, base_name)
File "read.py", line 387, in export
attr, value, native_text)
File "C:\Python27\lib\encodings\cp850.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode characters in position 39-41: character maps to undefined

youtube video?

i am not technical at all, but just stubbled upon this solution to the problem that i have of wanting to conver byki files into anki format. however i really just dont know what to do, is there a possibility that you could create a youtube video to show people like me how to do this?

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.