jimmejardine / qiqqa-open-source

The open-sourced version of the award-winning Qiqqa research management tool for Windows
GNU General Public License v3.0
366 stars 60 forks source link

BibTeX sniffer not working / showing Google Scholar RECAPTCHA #225

Open GerHobbelt opened 3 years ago

GerHobbelt commented 3 years ago

Hi, I am Ravindra, my big thank you to you for developing a very nice reference citation qiqqa app. I am using qiqqa since 2016, at that time qiqqa was working fine, but now when I was shifted to a new and open-source version i.e. setup-v81 and v82.exe. I am facing a big problem with BibTeX sniffer tools. The BibTeX sniffer not working correctly, it frequently showing google scholar Recaptcha error. and it not correctly visible Recaptcha in qiqqa browser it shows that the browser not supported.

Please suggest to me what should I do?

Originally posted by @ravindradonde in https://github.com/jimmejardine/qiqqa-open-source/issues/223#issuecomment-670843195

GerHobbelt commented 3 years ago

The RECAPTCHA is b0rked due to Qiqqa using XULrunner, which is similar to an older (embeddded) firefox browser (FireFox v33).

The fix for that is fixing #2, which is a quite a bit of work.

Also relevant to this is issue #113, which is technically the duplicate of this issue, only having the problem phrased differently in the subject title (if you know what's going on, so I can fully understand why you ask. One subject per issue please, which is why I moved this to its own issue #225)

As the answer at this moment is pretty complicated, here's a link to the FAQ/article I quickly wrote this evening to address this: FAQ : Qiqqa Sniffer, BibTeX grazing and Google Scholar RECAPTCHA and Access Denied site blocking errors

GerHobbelt commented 3 years ago

@ravindradonde:

See #113 for a few possible workarounds.

Also see the new preliminary Sniffer FAQ document in /docs-src/ which I wrote as part of this response. Hope it helps.

zhangxiaoxing commented 3 years ago

There's like 50 or so ways to import (a.k.a, paste) bibliography into Qiqqa, actually export from zotero is one of them (not kidding, I frequently use Endnote for this). Google scholar stops working every now and then for no good reason, stop waiting and try whatever else to get things done.

Is this being treated as a priority right now? I love everything Qiqqa has to offer but a feature for getting metadata from pdfs is something I can't go without. Your answer may determine whether I decide on quiqqa or just go the zotero route (reluctantly).

zhangxiaoxing commented 3 years ago

On a side note, I vote to stop automatic directing to google scholar by default for sniffing, it will fail and it does give wrong expectation/impression. Maybe changes can be made here ?

https://github.com/jimmejardine/qiqqa-open-source/blob/d9dca75f5128aa516261ef31007f6f155cc88d50/Qiqqa/WebBrowsing/WebSearcherPreferenceManager.cs#L92

            // If they have a preferences file
            if (load_from_file && File.Exists(PREFERENCES_FILENAME))
            {
                using (StreamReader sr = new StreamReader(PREFERENCES_FILENAME))
                {
                    while (true)
                    {
                        string line = sr.ReadLine();
                        if (null == line)
                        {
                            break;
                        }

                        preferences.Add(line.ToUpper());
                    }
                }

               // We always want Google Scholar!!
                preferences.Add(WebSearchers.SCHOLAR_KEY);
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

                return preferences;