AutoYahoo Emoticon Scraper

Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
6.6
Description:

This Perl script downloads the emoticons (smileys) from messenger.yahoo.com and sets them up for use in e.g. Kopete.

No icons are included here. This simply automates the process of downloading each icon and setting up an appropriate emoticons.xml file.

Please do NOT redistribute the resulting emoticon theme.

To run, cd to the directory you saved this file in, then

mv 28271-autoyahoo autoyahoo
chmod +x autoyahoo
./autoyahoo

If you're lazy, "perl 28271-autoyahoo" should do the trick. #;)

To install the emoticons globally, run this script as root.

See http://www.kde-apps.org/content/show.php?content=28315 for the MSN version.
Last changelog:

13 years ago

v1.1.3 - Fixed reference to MSN (non-critical)

v1.1.2 - Removed requirement for LWP and File::Temp

v1.1 - Added support for KDE 3.3 default directories

eadwinerose

12 years ago

I have gotten this scraper to work last night. Sending to a Yahoo user works great! Thank you very much!

Only one 'but' happens with Kopete and that is on my end. When a smiley is entered and sent (or received) it only uses the first characters of a smiley code in my screen. It doesn't use the full code to create one.

So.. on the phone :)] shows itself in Kopete as the :) smiley with a ] next to it. As said.. the Yahoo user sees the on the phone smiley, I see :) with a ]

Is there a way to fix that?

Report

eadwinerose

12 years ago

Oh.. before I forget, I run SimplyMepis 6.0, KDE 3.5.3 and Kopete version is 0.11.3

Report

C

dirge

12 years ago

IIRC, this is a bug with slightly older versions of Kopete. The problem is gone in the version I'm using, 0.12.4.

Report

maarizwan

13 years ago

I get this error bash-3.00# perl 28271-autoyahoo Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i486- linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/pe rl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at 28271-autoyahoo line 7. BEGIN failed--compilation aborted at 28271-autoyahoo line 7.

Report

C

dirge

13 years ago

Ok, I took out LWP and just used IO::Socket. This should make things easier for most distributions.

Report

C

dirge

13 years ago

You're missing LWP, which is rather strange. Try "cpan install LWP" as root. If that doesn't work, "perl -MCPAN -e shell" then "install LWP".

Report

maarizwan

13 years ago

thanks the command worked (installed lwp) then per AutoYahoo did the work :)

Report

Zjovaz

13 years ago

For other noobs like me:
You need to be root when runing this perl script. :-)
Go to the dir where you downloaded this perl script and run it with command: perl 28271-autoyahoo

You will be asked where to put the emoticons.
I puted it in the folder /opt/kde3/share/emoticons/AutoYahoo

For German Kopete users:
Bei richtiger Ausführung des Scripts kannst Du bei Kopete im Menü Einstellungen, Kopete Einrichten..., Erscheinungsbild im Reiter Emoticons die AutoYahoo Emoticons auswählen und aktivieren.

Report

C

dirge

13 years ago

Forgot to mention... you might not have noticed this menu:

Select destination:
1 /home/yourusername/.kde/share/emoticons/AutoYahoo
2 /usr/share/emoticons/AutoYahoo
3 ./autoyahoo-yN1Dps
4 Custom
>

You can just enter 1, 2, 3, or 4.

#1 is obviously the local KDE path;
#2 is the global path requiring root;
#3 is the temporary workdir, and
#4 allows you to place it anywhere.

#1 and #2 are derived from kde-config and your KDE version. (Check if "kde-config --prefix" gives you "/opt/kde3".)

Enjoy... :)

Report

C

dirge

13 years ago

Actually, you don't need to be root. Just choose or enter the path to your local (~/.kde) emoticons. On my system (FC4 KDE 3.4.2), it's ~/.kde/share/emoticons/ .. The script uses kde-config to get the prefixes, but your actual emoticon path may vary.

Hint: try "locate emoticons.xml" and look at the pattern of the resulting paths.

You can put this script somewhere in your path, chmod +x it, and just run it directly instead of invoking perl.

Report

13 years ago

v1.1.3 - Fixed reference to MSN (non-critical)

v1.1.2 - Removed requirement for LWP and File::Temp

v1.1 - Added support for KDE 3.3 default directories

12345678910
product-maker Count:18 Rating: 6.56
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.1.3
updated Mar 12 2007
added Aug 26 2005
downloads today
0
page views today 2
System Tags app software