Giter VIP home page Giter VIP logo

fb-event-scraper's Introduction

Facebook events scraper

This script starts from a set of hosts or events url and start to scrape "recursively" each event, until there are no more host or events to scrape.

fb-event-scraper's People

Contributors

gshit avatar pipriles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fb-event-scraper's Issues

TypeError: object of type 'NoneType' has no len()

Hello,

I'm looking for a piece of code to scrap some infos about fb events and this one looked perfect for me. But when I try to operate it, it successes to connect to fb and to extract data but after that it gives me these error lines.

Success!
Extracting place id...
https://www.facebook.com/labellevilloiseparis
Extracting events...
Extracting host: None 1
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/Users/simonmallo/Desktop/Eventz/eventscraper/events.py", line 592, in
main()
File "/Users/simonmallo/Desktop/Eventz/eventscraper/events.py", line 583, in main
json_list = json_list + spider.expand_search()
File "/Users/simonmallo/Desktop/Eventz/eventscraper/events.py", line 488, in expand_search
raise(e)
File "/Users/simonmallo/Desktop/Eventz/eventscraper/events.py", line 486, in expand_search
self.scrape_pendings()
File "/Users/simonmallo/Desktop/Eventz/eventscraper/events.py", line 447, in scrape_pendings
if len(host) - count >= limit:
TypeError: object of type 'NoneType' has no len()

Anyone knows what is the problem ?

Thanks

Does this still work?

Hi I would love to hear if this still works?

I could not figure it out and can this be done with out log in? I know these types of questions tend to go unanswered but would really appreciate to know since Facebook has closed their event api.

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.