Hacker Newsnew | past | comments | ask | show | jobs | submit | PolBaladas's commentslogin


Welcome,

We just launched Explorer - Your knowledge tool. Explore human knowledge visually.


Submit your story and send the link to your friends! They can continue writing it.


Nice ;)


Hi there! Looks good, but something weird happened:

  $ lyricfetcher bob dylan "like a rolling stone"
   Traceback (most recent call last):
  File "/usr/local/bin/lyricfetcher", line 7, in <module>
    from lyricfetcher.main import main
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/__init__.py", line 1, in <module>
    from .main import get_lyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/main.py", line 4, in <module>
    from lyricfetcher.sources import get_lyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/sources/__init__.py", line 1, in <module>
    from lyricfetcher.sources.AZlyrics import AZlyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/sources/AZlyrics.py", line 1, in <module>
    import urllib.request
ImportError: No module named request


Hello!

You need to have python 3 for the library to work.

You can Check your python version by typing

python --version

It seems You have 2.7,I really recommend you move to 3.6,it's much more Stable and fast!


Well, i do have Python 3. But the fact is that if this package only works with python 3, you should specify such in the pip package info file. Otherwise, I’ll just pip install and try to run it with Python27 because pip for 2.7 installed it with no problems. Cheers


simply, pip install torsimany

JSON to Markdown converter - Generate Markdown from format independent JSON Edit


Is there something wrong with how GitHub renders the Markdown you generate? The two examples given in the repo are not exactly human-readable and apart from bullet points I didn't notice any styling.


Yes, you're right. Looks like Github Doesn't render the Markdown I'm generating properly. You can use http://dillinger.io/ (online markdown visualizer) to visualize markdown properly.

Thanks!


Also, Feel free to contribute! Next step would be adding some extended styling with CSS rules (although that's not entirely portable) or read links in JSON and convert them to (name)[url] Markdown format.


Looks Cool! Scraping or API? (imdb’s i guess)


Thanks! :) It's Scraping... yet to add Rotten Tomatoes.


Nice! is this HTTPServer a standard, included python module? Does the “costumer you send the preview to” have to run ./zerve or the generated python script? Thanks!


Yes… all you need to run it is a plain vanilla Python 2.7 installation. HTTPServer is part of the standard library. The customer will need just the zerve file and will be able to run it (with Unix like OSs for sure, I've yet to test if double-click-ing on it in Windows will be enough).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: