GithubHelp home page GithubHelp logo

facebook-event-crawler's People

Contributors

dawe35 avatar dependabot[bot] 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facebook-event-crawler's Issues

README typo

In the reame you state

  1. Create a new mysql table callled 'event_crawler'

when it should read "Create a new mysql database"

thanks for the amazing script :)

Description with URLs

In many events description are html characters (like a href, strong, italic, etc).
Is possible scrapping descriptions with 'a href' html tags?

RFE

Here are two use cases I was wondering if you maybe could take under consideration?

  1. On Thursday I have 12 events between 17:00 and 22:00 (I live in a city) all over the city. It would be great if they could be displayed on a map so I could "plan my route" easier. In other words, if this crawler could extract the address of all my upcoming events and display them on a map? Or maybe even easier, just extract the location and format it in a way that Google Map can import? (A shortcut would be to just concatenate strings to build the URL string for Google maps, like this example https://www.google.com/maps/dir/Amazon+Go,+7th+Avenue,+Seattle,+Washington,+USA/Seattle,+Washington,+USA/Boeing+Everett+Factory,+West+Casino+Road,+Everett,+Washington,+USA/Microsoft+Building+92,+Northeast+36th+Street,+Redmond,+Washington,+USA/@47.7679854,-122.3785765,11z - as you can see, the format is pretty straightforward)

  2. There are also those events listed under Discover. Would be nice if these could be displayed on a map in a similar way to (1), including filters (art, sport, music etc) so you easily can find a nearby event if you are looking for something to do

Events table is no populated

The crawler is working fine apparentaly, but 'events" table still empty...

python3 Crawlr.py                                                                                                                                                         
Logging in to facebook...                                                                                                                                                                     
Getting page: tomorrowland
Getting page: Ultra
Getting page: djhardwell
Getting page: timmytrumpet
Getting page: Willcoxofficial
Getting page: OpenUpYourEars
0 old row deleted                                                                                                                                                                             
Pages are already updated less than an hour ago, no new events queried                                                                                                                        
Script end at 13:28                                                                                                                                                                           

How can i debug this ?

Getevent error

Getevent error
ERROR:root:message
Traceback (most recent call last):
File "C:\Crawlr.py", line 113, in getevent
datefrom = timestring.Date(splitted[0]).date
File "C:\Users\abc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\timestring\Date.py", line 176, in init
new_date = new_date.replace(hour=int(max(hour)))
ValueError: hour must be in 0..23

Error, writing del.html...

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.