https://github.com/exussum12/movielocations
https://movie.exussum.co.uk/ Film locations parsed from Wikipedia
https://github.com/exussum12/movielocations
location-based movie wikipedia
Last synced: about 1 year ago
JSON representation
https://movie.exussum.co.uk/ Film locations parsed from Wikipedia
- Host: GitHub
- URL: https://github.com/exussum12/movielocations
- Owner: exussum12
- Created: 2021-01-28T20:36:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-19T17:21:42.000Z (over 3 years ago)
- Last Synced: 2025-03-29T22:41:20.109Z (about 1 year ago)
- Topics: location-based, movie, wikipedia
- Language: PHP
- Homepage:
- Size: 61.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Movie Locations
Check out the website at https://movie.exussum.co.uk
# Data
Download the data from the following locations
[Wikipedia](https://meta.wikimedia.org/wiki/Data_dump_torrents#English_Wikipedia)
[IMDb](https://datasets.imdbws.com/)
# Running
Install via Composer
`composer install`
then run `php parse.php /path/to/wiki.xml /path/to/imdb.tsv`
The process should take about 600MB of RAM, it takes around
25 minutes on my machine
# Website
The website part is a static file should be able to host the
index.html, download the parsed.csv file (https://movie.exussum.co.uk/parsed.csv)
run the `split_locations.awk` file
```awk -v FS='\t' -v OFS='\t' -f split_locations.awk public/parsed.csv```
to test locally with php use
`cd public;
php -S localhost:8080`
Then load localhost:8080 in a browser