GithubHelp home page GithubHelp logo

Comments (14)

DaWe35 avatar DaWe35 commented on June 21, 2024

You may only need one xpath correction in

event_description = tree.xpath('//div[@id="unit_id_886302548152152"]/div[2]/text()')

from facebook-event-crawler.

elvispoz avatar elvispoz commented on June 21, 2024

I know, but what is correct ?

from facebook-event-crawler.

elvispoz avatar elvispoz commented on June 21, 2024

Im testing with new selector but still does not effects...

event_description = tree.xpath('//div[@id="unit_id_886302548152152"]/section[1]/text()')

Have you got any idea?

from facebook-event-crawler.

DaWe35 avatar DaWe35 commented on June 21, 2024

section[1]

That's weird, section[1] need to work. Anyway, I think there is a Facebook release slipping - in my old facebook account <div> works, in my new account <section>, so we need to support all of them. Cool....

Can you try out event_description = tree.xpath('//div[@id="unit_id_886302548152152"]/section/text()') ? Anyway I don't understand why section[1] not works...

from facebook-event-crawler.

elvispoz avatar elvispoz commented on June 21, 2024

Descriptions in mysql are still empty :(

from facebook-event-crawler.

elvispoz avatar elvispoz commented on June 21, 2024

Have you got any idea and solution... ?

from facebook-event-crawler.

DaWe35 avatar DaWe35 commented on June 21, 2024

Have you got any idea and solution... ?

Sorry @elvispoz, today I have no time, I'll check it out later. Sometimes I need to work for money also :)

from facebook-event-crawler.

DaWe35 avatar DaWe35 commented on June 21, 2024

@elvispoz I just registered a new Facebook account, and everything works fine. Can you give me your Facebook account to have a try? If you followed my guide, you registered one only for FB crawler, so there is no personal data.
You can find me here: https://discord.gg/69SZC4v (I'm DaWe)

from facebook-event-crawler.

elvispoz avatar elvispoz commented on June 21, 2024

Hi,
Have you got any time for this? I see thet fb make some change in code and put description to:
<!-- xxx -->

from facebook-event-crawler.

elvispoz avatar elvispoz commented on June 21, 2024

Maybe it will be some solution...
https://stackoverflow.com/questions/44506990/getting-encoded-text-while-scraping-the-data-from-url-using-beautifulsoup-python

from facebook-event-crawler.

DaWe35 avatar DaWe35 commented on June 21, 2024

Is there anyone having the same issue?

from facebook-event-crawler.

XinminHu avatar XinminHu commented on June 21, 2024

Is there anyone having the same issue?

Hello, I followed all your guidances, and the crawler worked smoothly.
But there are no records downloaded, the 'events' table is always empty...
I am not sure which part went wrong...

from facebook-event-crawler.

oblab avatar oblab commented on June 21, 2024

Same here, the crawler is working, but 'events" table still empty...

from facebook-event-crawler.

oblab avatar oblab commented on June 21, 2024
python3 Crawlr.py                                                                                                                                                         
Logging in to facebook...                                                                                                                                                                     
0 old row deleted                                                                                                                                                                             
Pages are already updated less than an hour ago, no new events queried  

from facebook-event-crawler.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.