-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Harvard case.law #3225
Comments
I was tinkering with this and noticed some really strange query selector behavior, maybe someone can point out what I'm doing wrong. I'm using this entry as my test page. First step was to extract the When I use the following query selector in my
But when I open the page in another browser, the corresponding query selector does yield results:
Also, using a regex-based text search of the entire document's
Any ideas what's going wrong here? Can anyone reproduce this? Maybe there is a silly mistake in my query selector. But I can't see why the same query selector that fails in |
How exactly are you testing this? I just loaded https://cite.case.law/am-samoa/2/3/ into the Scaffold browser, created a new translator with the Web Translator template, changed detect so it always detects as a case and then put |
Okay, thanks for the tip. I've tried again using just So, at the very least, we can say this isn't a page loading issue now... but I'm not sure what local misconfiguration could be causing this only on my end. (I'm not behind on any Zotero updates.) |
This is in scaffold? |
That's correct. |
Hmm -- at this point hard to say anything without seeing more code -- could you either put this into a draft PR or on a gist? |
Here's a gist containing the code I currently have for the translator, and I'm testing on the
|
Works for me. I'm in Zotero 7, but I can't really see how that matters. |
Oops, I commented out the Turns out I was using Zotero 6, and I just installed the Zotero 7 beta as a last resort... and the code works for me there! Perplexing... |
Cool. I'm guessing it might be the old Firefox version running underneath Zotero 6? I don't think I have seen this before. We obviously want to test with Z6, but I'm guessing it'll work outside of scaffold |
https://cite.case.law/
Requested: https://forums.zotero.org/discussion/110768/zotero-connector-and-case-law-courtlistener/p1
Looks like you can easily get to API-based JSON results that should work well
The text was updated successfully, but these errors were encountered: