facebook-events-development
A simple tool to scrape Facebook events using Selenium
Requirements
- Chrome is installed on your computer. If your computer doesn't have Chrome, you can download it from here.
If you don't have access to a browser, you can download using this guide: https://linuxize.com/post/how-to-install-google-chrome-web-browser-on-ubuntu-20-04/.
Usage
from facebook_events import find_all_events
print(find_all_events('https://www.facebook.com/csesoc/events/'))
# ['https://www.facebook.com/events/1338543436555126/', ...]
from facebook_events import get_event_details
import json
print(json.dumps(get_event_details('https://facebook.com/events/837282680573570/'), indent=2))
{
"id": "837282680573570",
"url": "https://facebook.com/events/837282680573570/",
"title": "SecSoc x CSESoc BBQ",
"time_start": "2022-07-13T12:00:00",
"time_finish": "2022-07-13T14:00:00",
"description": "...",
"location": "...",
"hosts": [
{
"id": "csesoc",
"name": "CSESoc UNSW",
"url": "https://www.facebook.com/csesoc/"
}
],
"image_url": "...",
"category": None
}
Notes
- This is a very early version of the tool. It is not yet complete.
Metadata
Release files for facebook-events-scraper 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| facebook-events-scraper-0.0.2.tar.gz | 4.6 kB | Without provenance | Details |
Release files / facebook-events-scraper-0.0.2.tar.gz
| Download URL | facebook-events-scraper-0.0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5232e85846036d3bb2ad1353842a76e1e9a5b1252d30fca333e32553d1cf5cc8
|
|
BLAKE2b-256 checksum How to use checksums |
fc96e3a7a04c657f5c530b425ff96d2392310a6de4b301d865073ed47165cd88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Security for facebook-events-scraper 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.