Displaying 20 results from an estimated 200 matches similar to: "Scraping AOL Webmail to login and fetch contacts?"
2008 May 16
5
Getting the friends contacts mail Id of gmail,hotmail,yahoo,myspace in RoR
Hello friends,
I am developing an application in RoR. After registration in this
application I follow the following steps:
1. Enter the hotmail,gmail,aol email id.
2. Enter password according to that mail id.
After submitting this information, I want to get the contacts in that
my mail id. How can I do this. Whenever I login next time, my contacts
should be there in the list of my application.
2007 Nov 12
3
Weird error downloading a gzip''ed file
Hi all,
I''ve been using mechanize for a while and it rocks. Docs are pretty clear
and so far I''ve been able to do it on my own.
However, I''m stuck in a weird situation in a script to download my contact
list from hotmail.
I''ve used Firebug to check all urls, and tested it by hand while logged in
via browser.
Even in the script everything works well until the
2006 Feb 28
2
Authentication on delegated web service methods -or- How the heck do I protect these things?
I need to restrict access to only certain parts of a web service I''m building.
Instead of requiring a client to submit their user/pass with each interaction I''d like to login them in once (currently using acts_as_authenticated in the rest of the site) and not have to fuss with it again during that session. Only problem is I can''t use AAA on an ActionWebService
2008 Jun 12
1
map.resources :foo_items, :as => :foo confusing my controller specs
I have following resource defined in my config/routes.rb (the model
name is contrived)
map.resources :foo_items, :as => :foo
that I originally generated with rspec_scaffold:
ruby script/generate rspec_scaffold foo_item
but when I use the :as attribute in resources to make the URI path be
''/foo'' instead of ''/foo_items'' the default/generated controller
2019 Oct 25
2
Duda de como plantear
Gracias Emiliano, pero no me vale. No conozco los valores de a,b y c. Tengo
que plantear tres condiciones y luego a través de la resolución de un
sistema lineal que me encuentre los valores de a,b, c.
Puede que no lo tenga que hacer a través de function y haya algún otro
modo.
Gracias de nuevo!
El vie., 25 oct. 2019 7:14, Emilio L. Cano <emilopezcano en gmail.com>
escribió:
> Hola
2019 Oct 25
2
Duda de como plantear
Estimado Elisabete Juaristi Arrieta
Al leer su correo pensé que usted quería resolver un problema para lo que R
no es adecuado, luego pensé que usted deseaba solucionar un problema donde
hay datos y una ecuación a resolver. En este segundo caso yo muchas veces
me pregunto cuál sería la forma para algunos problemas que tengo, muchos de
estos tienen solución pero pienso que esa solución es puesta
2006 Nov 22
1
to_absolute_uri typo in 0.6.3?
I just started using Mechanize, and started using Ruby about thirty
seconds before that, but one of the sites I''m scraping does a redirect
on form submission to a badly-formed relative URL:
index.cfm?action=bing&bang=boom=1|a=|b=|c= (etc.)
Interestingly, Mechanize 0.6.2 handled this OK, but in 0.6.3 this causes
a URI::InvalidURIError exception from URI.parse() in to_absolute_uri
2006 Jun 08
0
Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6
Ran across this today. Builder.js was removed *but* effects.js references Builder (~line 115, inside tagifyText I think) and will throw errors, obviously, if builder.js hasn''t been loaded. I can see the intent of removing scriptaculous.js, builder.js and slider.js, but they should be removed if one of the remaining files depends on features provided by [one of] them.
As it stands,
2007 Mar 20
6
bad URI problem when submitting a form
Hi all,
I''ve a problem when submitting a form : the URL seems to be invalid. I really
don''t see the way I should try to solve that problem. I searched on the web,
but didn''t found any kind of that problem.
Here is the code :
require ''mechanize''
agent = WWW::Mechanize.new
page =
2019 Oct 24
2
Duda de como plantear
Buenas noches,
Tengo una función del tipo f(x)=a*x^2+b*x+c y sé que esta función pasa por
el punto (1,3). Quisiera que R me sustituyera la x por 1, y me sacara la
expresión que quedase para luego ese resultado igualarlo a 3, es decir, que
hiciera lo siguiente, sustituyera x=1 en f(x), y me devolviera lo siguiente:
a*1^2+b*1+c
He probado a meter f de distintas formas:
f<-function(x)
2008 Nov 06
0
Contacts Importer Address grabber Invite friends import Gmail, Yahoo, Hotmail etc
hi,
Please help me!!!!!
am using ruby-1.8.6
gem blackbook-1.0.4
please give me detail installation steps..... please....
Thankyou.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Aug 08
6
What ruby/rails componet do I need?
I stole a script from the archives which shows how to launch an https
version of webrick. However I am getting an error that indicates that
my ruby/rails isntallation is missing a component to support ssl as
called from webrick. The script line in question is:
6 require ''webrick/https''
and the error stack generated is:
2006 Oct 29
3
Best practice - polymorphic or not
Hello I have this scenario (hope it is understandable):
I have a model to support fact messages of different types. This is
sport related and I have currently the following model design.
matchfacts (is the generic table connecting all matchfacts to for
instance a match/game, match has_many matchfacts).
Some matchfact-data is generic, like the time of fact and therefore the
data should be stored
2008 Jan 16
3
settings headers in mechanize
hi,
a potential mechanize user here. i''ve looked at the API but it''s not
clear what capacity there is to arbitrarily set the headers - does
mechanize allow for this?
mechanize is clearly great for web browsing, but i also need to
construct get and post requests from scratch. i''ve looked at
net:http, libcurl, openuri, but mechanize seems simpler and more
functional than
2006 Jul 17
3
libvorbis 1.1.3
hey,
i am running freebsd and i?ve got the following problem with installing
icecast 2.3.1.
(libxslt-1.1.0 and libogg 1.1.3 is installed) but when i am trying to
install libvorbis 1.1.3 i always get this message:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Package ogg was not found in the pkg-config
2009 Feb 05
1
Question about mount.cifs and smbclient
Hi!
I have a problem for a few weeks, and can't figure out what could be the
problem.
The client computer runs RHEL 5.2 (arch: x64_64); the smb server is
unknown for us.
I'm sorry, that I can't provide any info (usernames, servernames, IPs,
etc), they are masked to look like variables. But they are correct as
far as i am concerned.
When I try to mount it with mount.cifs (.smbfs
2008 Feb 03
0
Re: How do I seek to the beginning of an ogg stream? (Vince Tagle)
On 2/2/08, ogg-dev-request@xiph.org <ogg-dev-request@xiph.org> wrote:
>
> Send ogg-dev mailing list submissions to
> ogg-dev@xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xiph.org/mailman/listinfo/ogg-dev
> or, via email, send a message with subject or body 'help' to
> ogg-dev-request@xiph.org
>
2009 Aug 11
19
[Bug 1632] New: [PATCH] UTF-8 hint sftp-server extension
https://bugzilla.mindrot.org/show_bug.cgi?id=1632
Summary: [PATCH] UTF-8 hint sftp-server extension
Product: Portable OpenSSH
Version: 5.2p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: sftp-server
AssignedTo: unassigned-bugs at mindrot.org
2007 Jan 12
0
why dose to_absolute_uri use URI.escape?
hello.
This code is abort with Mechanize 0.6.4 .
----------------------------
# sample.rb
require "rubygems"
require "mechanize"
agent = WWW::Mechanize.new
agent.user_agent_alias=''Windows Mozilla''
# top page of wikipedia for japanese
agent.get("http://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8")
2006 Dec 30
0
Change I needed to make in to_absolute_uri for unescaped URL separator characters
Mechanize is great! It''s better than anything I was expecting to be out
there, and the syntax is really nice.
I had a bit of a problem though -- following URLs with commas. The code in
to_absolute_uri works great for spaces, but some pages I was working on had
URLs with unescaped commas that URI rejected when I tried to click() on them.
So I changed the first statement in