Do you believe there were prophets before John?
Or do you believe there is only one way to receive the Holy Spirit and that is by hearing and believing the Gospel of Jesus Christ?
Google God's prophets. There were bunches of prophets in the Old Testament. In the Old Testament they were saved by believing in God's promise of a savior. Read Hebrews chapter 11.