Permalink
Switch branches/tags
Commits on Jan 17, 2011
  1. Handle changes to LyricWiki.org site.

    They now only HTML-encode the start of the <lyrics> tag in the edit box, e.g.
    "&gt;lyrics>" rather than "&gt;lyrics&lt;".
    committed Jan 17, 2011
Commits on Dec 21, 2010
Commits on Apr 15, 2010
  1. Releasing 0.08 to fix test failure.

    Test script was failing as it matches snippets of lyrics, and the lyrics
    returned by LyricWiki for REM's "High Speed Train" now contained "high-speed
    train" not "high speed train".
    
    TODO: improve tests, make them more generic tests of module behaviour and
    ability to fetch lyrics, and less fragile.
    committed Apr 15, 2010
Commits on Oct 18, 2009
  1. Update Changelog; we're about ready for release

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@770 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  2. Comment to indicate that REM - High Speed Train tests redirections too

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@769 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  3. Call fetch() properly

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@768 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  4. Make the redirect-matching regex match.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@767 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  5. Typo

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@766 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  6. Handle redirections, simply by recursively calling fetch() for the ne…

    …w artist &
    
    title.
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@765 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  7. Ugh, looks like sometimes it's <lyrics> and sometimes <lyric>. Nasty.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@764 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  8. Put the artist & title in there properly. Muppet.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@763 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  9. Mention song title & artist in test diagnostic message

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@762 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  10. If we don't get lyrics, set $lyrics to an empty string rather than th…

    …e undef
    
    we'd have got, to avoid errors
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@761 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  11. Bump version.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@760 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  12. Old crap no longer needed.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@759 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  13. Don't still manually generate a plan as well as letting Test::More do…

    … it.
    
    Skip the correct number of tests.
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@758 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  14. We no longer depend on HTML::TagParser.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@757 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  15. I appear to be made of fail.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@756 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  16. Get the edit page URL right. Also, we don't use HTML::TagParser anymore;

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@755 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  17. The old approach, whilst relatively elegant, broke on songs where the…

    …re were
    
    ringtone adverts on the page, as they seemed to make the HTML unparseable.
    
    Load the "edit" page instead, which conveniently presents the plain text lyrics
    in a textarea, surrounded by &lt;lyrics&gt; ... &lt;/lyrics&gt;.  How nice :)
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@754 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  18. After apparently finding the appropriate div, check we ended up with …

    …some lyrics
    
    before happily setting $Lyrics::Fetcher::Error to 'OK' and returning nothing.
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@753 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  19. Fix prereq's - we don't use SOAP::Lite any more, but do need LWP::Use…

    …rAgent and
    
    HTML::TagParser.
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@752 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
  20. This test script was utter shit.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@751 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Oct 18, 2009
Commits on Sep 8, 2009
  1. Remove left-over shite POD.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@726 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
  2. If it's just 404, return 'Lyrics not found' just like before, for oth…

    …er errors,
    
    return a description of the HTTP error.
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@724 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
  3. Ick. Replace <br> tags with a placeholder before HTML::TagParser disc…

    …ards them,
    
    so I can put newlines in properly after parsing.
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@723 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
  4. Assemble the URL properly. TODO: urlencode the rest.

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@722 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
  5. It's getElementsByClassName, not getElementsByClass

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@720 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
  6. Record labels throwing their legal weight around prevented LyricWiki …

    …(well,
    
    lyrics.wikia.com) from offering lyrics via the API.  Fine, I'll screen-scrape
    then.
    
    Impact: Fucking stupid commit script needs fixing to not require Impact: lines
    on non-UK2 commits
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@719 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
  7. Detect if LyricsWiki gave us the "sorry, you can't have lyrics for th…

    …is song via
    
    the API due to licencing restrictions" error, and return an error, rather than
    it looking like we got lyrics when we didn't.
    
    Fucking record labels.
    
    Impact: 0 - dammit, why is the commit script demanding this on a non-UK2 box
    
    
    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@718 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 8, 2009
Commits on Sep 4, 2008
  1. Moving Perl modules to new path projects/perl/modules

    git-svn-id: file:///shared/svn/scripts/projects/perl/modules/Lyrics-Fetcher-LyricWiki@444 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Sep 4, 2008
Commits on Mar 18, 2008
  1. Add examples to the MANIFEST

    git-svn-id: file:///shared/svn/scripts/perl/modules/Lyrics-Fetcher-LyricWiki@308 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Mar 18, 2008
  2. Adding examples

    git-svn-id: file:///shared/svn/scripts/perl/modules/Lyrics-Fetcher-LyricWiki@307 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Mar 18, 2008
  3. update copyright year (piffling change)

    git-svn-id: file:///shared/svn/scripts/perl/modules/Lyrics-Fetcher-LyricWiki@306 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Mar 18, 2008
  4. Some small improvements to Lyrics::Fetcher::LyricWiki - mostly to boost

    the Kwalitee score, but also to support perl 5.005 (ancient).
    
    
    git-svn-id: file:///shared/svn/scripts/perl/modules/Lyrics-Fetcher-LyricWiki@305 c1e6fe2f-0919-0410-96f0-e3221d39872c
    committed Mar 18, 2008