icy / google-group-crawler

[Deprecated] Get (almost) original messages from google group archives. Your data is yours.
215 stars 38 forks source link

no protocol #5

Closed mis3250 closed 9 years ago

mis3250 commented 9 years ago

Hi Himanshu:

I have tried your code and found the following error. Should we use URI? URL seems to have a bug.

Exception in thread "main" java.net.MalformedURLException: no protocol: 'https /groups.google.com/forum/#!forum/ibm.software.websphere.application-server'

Thank you very much!

icy commented 9 years ago

I guess you call my script from a Java program. If that's the case, you need to set up some environments (see README.md). The most important variable is _GROUP; it should be /ibm.software.websphere.application-server.

Please refer to you language specification to set up a variable for a sub-shell invocation.

Thanks,

mis3250 commented 9 years ago

Hi:

Thanks for your fast response. I have added an environment variable _GROUP and I still have the following no protocol error:

C:\maven\googleGroup\google-grp-scraper\target>java -jar google-grp-scraper-0.0. 1-SNAPSHOT.jar 'https://groups.google.com/forum/#!forum/ibm.software.websphere.a pplication-server' 20 Exception in thread "main" java.net.MalformedURLException: no protocol: 'https:/ /groups.google.com/forum/#!forum/ibm.software.websphere.application-server' at java.net.URL.(Unknown Source) at java.net.URL.(Unknown Source) at java.net.URL.(Unknown Source) at com.pramati.scraper.google_grp_scraper.ScraperStartup.main(ScraperSta rtup.java:9)

Thanks again. (I posted a new issue but I guess this is the right place to continue the dialogue. sorry.)

icy commented 9 years ago

Hi @isom3250 ,

I think we are talking about two different tools. You're talking about this https://github.com/himukr/google-grp-scraper . Mine version is competely written in #bash; it's nothing to do with java.

Thanks,