Git Product home page Git Product logo

lyricpass's People

Contributors

initstring 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

Watchers

 avatar  avatar  avatar  avatar  avatar

lyricpass's Issues

Error in format_lyrics when run w/o "--punctuation" argument

When the script is run without the --punctuation argument, the following error message is observed:

Traceback (most recent call last):
  File "lyricpass.py", line 128, in <module>
    main()
  File "lyricpass.py", line 119, in main
    lyrics = format_lyrics(lyrics)                      # format lyrics as specified in arguments
  File "lyricpass.py", line 90, in format_lyrics
    formatted = [''.join(c for c in s if c not in string.punctuation) for s in formatted]
  File "lyricpass.py", line 90, in <listcomp>
    formatted = [''.join(c for c in s if c not in string.punctuation) for s in formatted]
  File "lyricpass.py", line 90, in <genexpr>
    formatted = [''.join(c for c in s if c not in string.punctuation) for s in formatted]
TypeError: 'in <string>' requires string as left operand, not int

lyricpass throws error: HTTP Error 403: Forbidden

Hello,

There's a problem with lyricpass right now. If we use it to make a simple request, like:
python3 lyricpass.py -a Adele

It throws the following error:
[+] Looking up artist Adele
Traceback (most recent call last):
File "/lyricpass-master/lyricpass.py", line 245, in
main()
File "/lyricpass-master/lyricpass.py", line 224, in main
url_list = build_urls(artist)
File "/lyricpass-master/lyricpass.py", line 141, in build_urls
with urllib.request.urlopen(query_url) as response:
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

I tried to debug the problem but I couldn't find the URL being asked.

Inventory notification

Your tool/software has been inventoried on Rawsec's CyberSecurity Inventory.

https://inventory.rawsec.ml/tools.html#lyricpass

image

What is Rawsec's CyberSecurity Inventory?

An inventory of tools and resources about CyberSecurity. This inventory aims to help people to find everything related to CyberSecurity.

More details about features here.

Note: the inventory is a FLOSS (Free, Libre and Open-Source Software) project.

Why should you care about being inventoried?

Mainly because this is giving visibility to your tool and improve its referencing.

Badges

The badge shows to your community that your are inventoried. It looks good but also shows you care about your project, that your tool is referenced.

Feel free to claim your badge here: http://inventory.rawsec.ml/features.html#badges, it looks like that Rawsec's CyberSecurity Inventory, but there are several styles available.

Want to thank us?

If you want to thank us, you can help make our open project better known by tweeting about it! For example: Twitter URL

So what?

That's all, this message is just to notify you if you care. Else you can close this issue.

python 3 support

python 2 is deprecated and the support will be dropped soon so python support would be welcome

IndexError: list index out of range

Hi, I try to use your py script but I get the following error:

$ python3 ./lyricpass.py -a eminem
[+] Looking up artist eminem [+] Found 1558 songs for artists eminem Traceback (most recent call last): File "./lyricpass.py", line 239, in <module> main() File "./lyricpass.py", line 221, in main raw_words.update(scrape_lyrics(url_list)) File "./lyricpass.py", line 190, in scrape_lyrics lyrics = re.findall(regex, html)[0] IndexError: list index out of range

P.S: I also try 'lyricpass-2019-rewrite' but I get exactly the same issue.

Is this still working?

Thanks in advance!

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.