Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Substring search using PSAW or Pushshift API #99

@drsumitdalal

Description

@drsumitdalal

I am trying to search submissions, on Reddit, that contains a substring "enjoying India vs England match" or something like that. If I want submissions that consist of all these or some of these words then I can use the "|" or "&" operator but these operators don't care about the order of words. So my query is "Is there any way to get submissions with the given substring"?`

api = PushshiftAPI(r)

gen = api.search_submissions(q="enjoying India vs England match",limit=30)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions