File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 4343
4444def get_driver ():
4545 chrome_options = Options ()
46- chrome_options .add_argument ("--headless" )
46+ chrome_options .add_argument ("--headless=new " )
4747 chrome_options .add_argument ("--no-sandbox" )
4848 chrome_options .add_argument ("--disable-dev-shm-usage" )
4949 chrome_options .add_argument ("--disable-gpu" )
Original file line number Diff line number Diff line change 2323echo -e " ${GREEN} 'README.md' file generated.${NC} "
2424echo " "
2525echo -e " ${GREEN} JSON file(s) are being generated.${NC} "
26+
27+ # Generate JSON files from CSV
2628cd data/top50 || exit 1
2729csvtojson movies.csv > movies.json
2830csvtojson shows.csv > shows.json
2931cd " ${ROOT_DIR} " || exit 1
30- cd data/top250 || exit 1
32+ cd data/popular || exit 1
3133csvtojson movies.csv > movies.json
3234csvtojson shows.csv > shows.json
3335cd " ${ROOT_DIR} " || exit 1
34- cd data/popular || exit 1
36+ cd data/top250 || exit 1
3537csvtojson movies.csv > movies.json
3638csvtojson shows.csv > shows.json
3739echo " "
You can’t perform that action at this time.
0 commit comments