Giter Site home page Giter Site logo

dottorrent's People

Contributors

kdercksen avatar kz26 avatar mahkitah avatar savagecore 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

Watchers

 avatar  avatar  avatar  avatar

dottorrent's Issues

Superfluous dependencies when used as a module

I would like to use dottorrent as a module, but I don't want my project to depend on tqdm and humanfriendly which are only used by dottorrent's CLI. Is there any chance you would consider making a new dottorrent-cli project like dottorrent-gui?

Another thing I'm missing is a documented way to access the data dictionary. This is currently possible with a private _data variable, but a property with a docstring would be nicer.

Finally, I need a torrent file parser that provides all information in a pythonic way. I could implement this in my project, but I think it would be a useful feature in general.

I would make pull requests for the data property and a TorrentInfo class. What do you think?

Add file exclusion feature?

Feature to exclude any filename pattern like .jpg;.png and such. It'd be very handy in batch creating torrents for cross seeding on trackers!

Error when UTF (ü) character in filename?

M:\path\Transcodes>"C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\python.exe" "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\Scripts\dottorrent_cli" --tracker http://tracker/announce --private "M:\path\Transcodes\Müzik" "M:\path\Transcodes\Müzik.torrent"

dottorrent/1.5.0 (https://github.com/kz26/dottorrent)
Input: M:\path\Transcodes\Teoman [2016] Iki Ask [Avrupa Müzik Yapim, WEB] [V2
]
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\Scripts
\dottorrent_cli", line 85, in
t_info = t.get_info()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\sit
e-packages\dottorrent_init_.py", line 155, in get_info
raise exceptions.EmptyInputException
dottorrent.exceptions.EmptyInputException: Input path must be non-empty

Error when unicode in file path

Probably a duplicate of #3.

I've confirmed this only happens when the ä character is in the filename:

Traceback (most recent call last):
  File "/path/to/.local/bin/dottorrent", line 8, in <module>
    sys.exit(main())
  File "/path/to/.local/lib/python3.5/site-packages/dtcli/cli.py", line 137, in main
    t.generate(callback=progress_callback)
  File "/path/to/.local/lib/python3.5/site-packages/dottorrent/__init__.py", line 301, in generate
    for y in x[0].split(os.sep)[len(path_sp):]]
  File "/path/to/.local/lib/python3.5/site-packages/dottorrent/__init__.py", line 301, in <listcomp>
    for y in x[0].split(os.sep)[len(path_sp):]]
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc3' in position 11: surrogates not allowed

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.