Thank you for sharing your code. It's been incredibly helpful in extracting the specific Reddit data I need!
However, I've encountered an issue. I can successfully use the command:
python3 combine_folder_multiprocess.py reddit --field title --value cold,fever --output pushshift
to fetch submissions with titles containing either "cold" or "fever".
But, when I try to search for specific keyword combinations like "common cold" or "fever symptoms" using:
python3 combine_folder_multiprocess.py reddit --field title --value common cold,fever symptoms --output pushshift
I encounter the following error:
Thank you for sharing your code. It's been incredibly helpful in extracting the specific Reddit data I need!
However, I've encountered an issue. I can successfully use the command:
python3 combine_folder_multiprocess.py reddit --field title --value cold,fever --output pushshift
to fetch submissions with titles containing either "cold" or "fever".But, when I try to search for specific keyword combinations like "common cold" or "fever symptoms" using:
python3 combine_folder_multiprocess.py reddit --field title --value common cold,fever symptoms --output pushshift
I encounter the following error:combine_folder_multiprocess.py: error: unrecognized arguments: cold,fever symptoms
Could you advise on how to filter for phrases (some words with space) instead of single words?
Looking forward to your guidance, and thanks in advance!