M4DM4X
Elite Member
- Jan 21, 2015
- 2,909
- 1,753
Hi I have the script below that fetches jokes randomly from a websites and show them on mine.
I'd like to bypass the site and fetch the jokes from my own txt file (one joke per line and the script choose a random one to show on my site. Even if the jokes are not from this site in particular it's not a problem, I can scrape some jokes and put them myself in the txt file).
Do you know how I can do this guys please? (sorry for putting an image instead of text by I can't insert code for some reason it always triggers an error on the forum
I'd like to bypass the site and fetch the jokes from my own txt file (one joke per line and the script choose a random one to show on my site. Even if the jokes are not from this site in particular it's not a problem, I can scrape some jokes and put them myself in the txt file).
Do you know how I can do this guys please? (sorry for putting an image instead of text by I can't insert code for some reason it always triggers an error on the forum