-
Notifications
You must be signed in to change notification settings - Fork 67
Dryscrape to login via Facebook. #37
Comments
The login field has an id of u_0_v not u_0_x like you have in your code. Try this: |
It sounds like you have a problem with your Qt installation. I just used Homebrew: What @trendsetter37 said might also be a problem, especially if the ID is randomized, in which case you need a different XPath expression to select the button. |
@niklasb Yea I have ran into that before with randomized id's on login pages. However, I checked Facebook's login button and it was static as far as I could tell. |
@trendsetter37 Thanks for the reply. I uninstall |
Hi @noppanit. I haven't seen this error before. Which version of Mac OS X are you using? And which version of Qt was installed by Homebrew? |
@niklasb My OSX version is 10.10.5 and Qt is |
hi @noppanit, |
@KickingHorse no I wasn't able to solve it. I just gave up. It looks like Facebook doesn't like scraping. |
Does the |
It does. The problem I was having was my code would work from the command line but the IDEs I was using (PyCharm and Spyder) kept complaining about the error above :
Took me forever to figure it out, but eventually had to do something like this :
This ultimately fixed the problem for me. This is where the file |
I just tryed to run a simple
Dryscrape is searching the following file:
That |
Actually, there is a way to symlink it correctly but it is necessary to symlink each Qt 4 framework separately.
This way it`s not necessary to download homebrew, which is nice cause there are some who use Fink or MacPorts and would rather avoid installing several package managers. |
currectly, the |
I'm trying to use Dryscrape to login via Facebook. But I get these error.
Here's the code I'm using.
The text was updated successfully, but these errors were encountered: