Giter Site home page Giter Site logo

sdushantha / fileinfo Goto Github PK

View Code? Open in Web Editor NEW
112.0 6.0 12.0 15 KB

๐Ÿ“„Get information on over 10,000 file extensions right from the terminal

License: MIT License

Python 100.00%
file information commandline tool cli linux macos fileinfo

fileinfo's People

Contributors

sdushantha avatar tuskiie avatar wesinator 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

fileinfo's Issues

IndexError: list index out of range

$ python3 --version
Python 3.9.0

$ fileinfo py
Traceback (most recent call last):
  File "/Users/adrian/Library/Python/3.9/bin/fileinfo", line 71, in <module>
    main()
  File "/Users/adrian/Library/Python/3.9/bin/fileinfo", line 63, in main
    file_type = get_file_type(html)
  File "/Users/adrian/Library/Python/3.9/bin/fileinfo", line 18, in get_file_type
    return re.findall('<span itemprop="name">(.*?)</span></h2>', html)[0]
IndexError: list index out of range

Violates Terms of Use

Hi, just a heads up, this repo violates the TOS of FileInfo.com,
specifically:

Usage Policy
You may use this website for the intended purpose of learning about file types and software programs. You may not use any kind of automatic device or program to access or copy any portion of FileInfo.com.

You might wanna get permission from them if possible.

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.