Posts

For more information, see the search syntax documentation. Search results are sorted by creation date.

Search Results

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 27

Anonymous #5320
How difficult would it be to modify the script to take a bunch of image IDs (or hashes, I suppose) and ensure they’re upvoted on the site in question?
In case of another site having some weirdness like Ponerpics did several months ago that caused all user upvotes over a long period of time to disappear.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 26

πʊßƛįϰ

I keep getting errors when fetching from Derpi:
Generally occurs on page 49 or 50, but it happened on 21 this time. Was running it from Twibooru to sync it as widely as possible. Also, do I need to switch to the Everything filter on either the source or destination booru to ensure as many images as possible are sync’d?

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 25

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 24

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 23

Anonymous #5320
Twibooru syncing appears to be having issues again. Earlier it was receiving errors for something to the effect of “This API will soon be discontinued, please use the new API”, and at the moment it syncs one image out of however many, and then stops while searching for the second.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 22

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 21

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 20

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 19

Anonymous #5320
Links for twibooru images try to send you to /images/ID, but /images/ doesn’t work for twibooru.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 18

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 17

Marker
Boot badge - It's Bootiful
Fried Chicken - Attended an April Fools event
Liberty Belle - Sings the song of the unchained

Misanthrope
@Anonymous #3CE1  
Hey there.  
I didn’t implement syncing downvotes because I personally treat the faves and upvotes more akin to bookmarks, so having the downvotes synced just isn’t very useful to me, not to mention adding another piece of complexity to my spaghetti code that I have to worry about.
 
>Does it also keep faves and upvotes separate?  
I’m afraid it doesn’t. As you said, it’s kind of an edge case, one I didn’t (and still don’t) want to bother with.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 16

Anonymous #3CE1
After reading, it looks like downvotes aren’t imported too. Is there a chance that could also be implemented? I have less than 4k IDs downvoted because I don’t do it that much and I use the fucking filters. Or would it be due to those who just carpet-bomb tags that you haven’t added that feature at the moment?
 
A separate question, because I know it’s a thing that happens. Does it also keep faves and upvotes separate? Because there’s times where someone faves something, but removes the upvote or downvotes it. I figure it’s more of an edge case, but I figure I should ask.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 15

Marker
Boot badge - It's Bootiful
Fried Chicken - Attended an April Fools event
Liberty Belle - Sings the song of the unchained

Misanthrope
A small update with three changes:
 
  • A button to export log to file as plaintext  
  • Cap the number of log entries to be displayed to 1000, older entries get hidden as more lines are added. (Don’t worry, it doesn’t affect log export.)  
  • Cut down on the number of network requests when syncing small number of images: Now the script skips fetching vote interactions from the destination boorus if it determines the number of fetch needed (pages) > the number of images to be synced.
     
     
    @Anonymous #5320  
    Sorry it’s taken me this long to implement log export. Once I lose momentum it takes a ridiculous amount of effort to get me started again.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 14

Marker
Boot badge - It's Bootiful
Fried Chicken - Attended an April Fools event
Liberty Belle - Sings the song of the unchained

Misanthrope
@Anonymous #5320  
Log exports I can implement. But undoing faves and votes sounds very difficult to tackle. Consider how the script should handle the situation where an image is faved on the target booru, but doesn’t exist on source.
 
Simply unfaving every single image that could not be matched means limiting your faves to images that exists on both sites. In addition, image matching is not 100% reliable. It’s possible for the sites to have images that are visually identical, but possess different file signatures. Or sometimes a match can only be found through the fallback search methods, meaning it has to be force enabled or running the risk of losing faves.
 
So what if the script only unfaves images that could be found on the source booru, but isn’t faved/upvoted? Well, there is still the risk of data loss if a faved image on the target booru is later uploaded to the source. The script will see the image on the source booru is unfaved, and thus unfaving it on the target booru.
 
So unfortunately, I don’t intend to implement this feature. It’s just too much effort and far too error prone. If you only need to unfave/unvote images on an occasional basis, I would recommend my Booru Switcher script as a workaround. Using it on an image page will redirect you to the same image on the other sites, where you can manually unfave the image.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 13

Anonymous #5320
Is it possible to sync images that were unfaved/unupvoted? Perhaps through comparing target images against source images, rather than source against target?
 
Secondly, could a way to export the log to a file be implemented? When using the fallback it can cause the tab to become quite sluggish when interacting with it. Not to mention being easy to lose your place.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 12

Anonymous #CA88
@Anonymous #B990  
My problem was that I was on an ancient ESR edition of Firefox (blame Debian). Once a new ESR showed up in apt, the sync finally showed up. For whatever reason, syncing to Twibooru didn’t want to work at all (lots and lots of 403 errors). The other two had great success.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 11

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 10

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 9

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 8

Marker
Boot badge - It's Bootiful
Fried Chicken - Attended an April Fools event
Liberty Belle - Sings the song of the unchained

Misanthrope
Changelog for 1.2.0:  
Client-side hash calculation are now cached. This should drastically cut down the number of images that needs to be checked on subsequent syncs.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 7

Marker
Boot badge - It's Bootiful
Fried Chicken - Attended an April Fools event
Liberty Belle - Sings the song of the unchained

Misanthrope
@Anonymous #B990  
Yes, this is odd. I tested on a fresh install of Firefox ESR portable edition (Windows) and the button showed up just fine.  
Are there any error messages in the dev console? Do you have other scripts installed?

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 6

Anonymous #B990
@Marker  
I think either my browser or my Violent Monkey install is broken, as it does not appear on any site even though Violent Monkey says it is enabled on this site.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 5

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 4

Anonymous #B990
Where is the UI element to get the booru sync to appear? I installed it (as well as Violent Monkey) and don’t see anything obvious. It’s Firefox ESR under Debian if that makes any difference.

Site and Policy » [Userscript] Booru Sync - Syncing favorites and upvotes across sites » Post 3

Anonymous #02DC
Changelog for 1.1.0:  
  • Clickable links in the log outputs!  
  • Fixed an error with client-side hash search when there are multiple sync destinations.

Default search

If you do not specify a field to search over, the search engine will search for posts with a body that is similar to the query's word stems. For example, posts containing the words winged humanization, wings, and spread wings would all be found by a search for wing, but sewing would not be.

Allowed fields

Field SelectorTypeDescriptionExample
authorLiteralMatches the author of this post. Anonymous authors will never match this term.author:Joey
bodyFull TextMatches the body of this post. This is the default field.body:test
created_atDate/Time RangeMatches the creation time of this post.created_at:2015
idNumeric RangeMatches the numeric surrogate key for this post.id:1000000
myMetamy:posts matches posts you have posted if you are signed in. my:posts
subjectFull TextMatches the title of the topic.subject:time wasting thread
topic_idLiteralMatches the numeric surrogate key for the topic this post belongs to.topic_id:7000
topic_positionNumeric RangeMatches the offset from the beginning of the topic of this post. Positions begin at 0.topic_position:0
updated_atDate/Time RangeMatches the creation or last edit time of this post.updated_at.gte:2 weeks ago
user_idLiteralMatches posts with the specified user_id. Anonymous users will never match this term.user_id:211190
forumLiteralMatches the short name for the forum this post belongs to.forum:meta