Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2019, 11:15 PM   #3676
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply!

Quote:
Originally Posted by DredPirateWombat View Post
So, I guess I'm asking if there is a FanFicFare utility for this issue and if not for it to be added to the list when considering updates, as well as asking if anyone has any recommendations for this problem.
This is a topic that comes up periodically. I'm not going to go over all of it again, but AO3's decision to allow authors to input basically anything--and any number of anything--as tags makes normalizing problematic at best.

It's not practical for FFF to fetch the tag page for every tag for every story looking for canonical tags when a story can have dozens of tags. I'm not interesting in implementing a cache to make it practicable. I would (probably) accept code contribution for it if someone else wants to implement it.

If AO3 ever offers an option to fetch story metadata with canonical tags that doesn't involve a page fetch per tag, then I'll be happy to look at it.

Quote:
Originally Posted by Ryune View Post
How well does this work if you have 2 factor authentication enabled?
The short answer is, it doesn't. I didn't even know that was a thing for SB.

Quote:
Originally Posted by Ryune View Post
Also, I was wondering, has there been any thought put into something like a Browser Plugin for FFF? It would be much more convenient to have the browser use it's own cookies to deal with certain websites like Webnovel that have 2-factor and "are you human" questions.
I was going to give the past answer of 'not interested in porting to javascript', but I see there are other options now. I can't promise it will happen, but I will look into it.
JimmXinu is offline   Reply With Quote
Old 08-23-2019, 11:45 PM   #3677
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2019-08-23
- Add URL prefix for XF2 authorUrl if relative.

Circa Aug 23, 2019 SV changed the author URL FFF collects to a relative link and I didn't notice it until now.

The easiest way I found to identify stories with an incomplete author URL is if you have a Saved Metadata column and search for "<li>/members/".
JimmXinu is offline   Reply With Quote
Advert
Old 08-24-2019, 01:15 AM   #3678
chrnno
Connoisseur
chrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with others
 
Posts: 50
Karma: 2652
Join Date: Jan 2014
Device: Samsung Galaxy J2
Quote:
Originally Posted by JimmXinu View Post
The short answer is, it doesn't. I didn't even know that was a thing for SB.
SB, SV, QQ and AH all have it. The paradox forums don't though so it isn't a default Xenforo function.
chrnno is offline   Reply With Quote
Old 08-25-2019, 07:57 PM   #3679
saluli
Connoisseur
saluli began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jul 2015
Location: Curitiba - Brazil
Device: Kindle Paperwhite 3,
Quote:
Originally Posted by ilovejedd View Post
Impractical for FanFicFare to implement.

I keep AO3 tags in a #freeform_tags custom column. I have a LibreOffice spreadsheet where I assign canonical tags to freeform tags and then use Job Spy's Scrub Tags option to convert freeform to canonical so I can keep my main tags column clean.

Can you share a bit more of how do you do this?
saluli is offline   Reply With Quote
Old 08-25-2019, 09:46 PM   #3680
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by saluli View Post
Can you share a bit more of how do you do this?
Current workflow is:
#freeform -> #tmptags (run scrub against this custom column) -> #{relationships|characters|tropes}

I just use batch metadata edit (regex mode) to copy custom columns to another custom column.

Search: (.*)
Replace: /1

I have a LibreCalc spreadsheet where I manually assign canonical tags to the freeform tags (sometimes, I use my own version instead of AO3's canonical forms). I export to CSV format per Job Spy instructions and import to Job Spy.

https://www.mobileread.com/forums/sh...d.php?t=269911

A sample AO3 tag rules table be found here.
https://www.mobileread.com/forums/sh...&postcount=376
ilovejedd is offline   Reply With Quote
Advert
Old 08-26-2019, 11:05 PM   #3681
ursatempest
Junior Member
ursatempest began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2019
Device: Smartphone, Kindle Paperwhite (2018)
Got a problem downloading NSFW/login-walled threads on QQ. Log here:
Code:
[ursatempest@ursalaptop Repositories]$ fanficfare -d -c personal.ini "https://forum.questionablequesting.com/threads/unnamed-original.10165/"FFF: DEBUG: 2019-08-27 10:54:10,445: cli.py(184):     OS Version:Linux-5.2.9-arch1-1-ARCH-x86_64-with-arch-Arch-Linux
FFF: DEBUG: 2019-08-27 10:54:10,445: cli.py(185): Python Version:3.7.4 (default, Jul 16 2019, 07:12:58) 
[GCC 9.1.0]
FFF: DEBUG: 2019-08-27 10:54:10,445: cli.py(186):    FFF Version:3.10.5
FFF: INFO: 2019-08-27 10:54:10,504: base_xenforoforum_adapter.py(385): url: https://forum.questionablequesting.com/threads/unnamed-original.10165/
FFF: DEBUG: 2019-08-27 10:54:10,505: configurable.py(1116): #####################################
pagecache(GET) MISS: https://forum.questionablequesting.com/threads/unnamed-original.10165/
FFF: DEBUG: 2019-08-27 10:54:18,712: configurable.py(1194): Caught an exception reading URL: https://forum.questionablequesting.com/threads/unnamed-original.10165/  Exception HTTP Error 403: Forbidden.
FFF: DEBUG: 2019-08-27 10:54:18,712: configurable.py(1201): Giving up on https://forum.questionablequesting.com/threads/unnamed-original.10165/
FFF: DEBUG: 2019-08-27 10:54:18,712: configurable.py(1202): HTTP Error 403: Forbidden
NoneType: None
FFF: DEBUG: 2019-08-27 10:54:18,715: base_xenforoforum_adapter.py(209): Will now login to URL (https://forum.questionablequesting.com/login/login) as (ursatempest)
FFF: DEBUG: 2019-08-27 10:54:18,716: configurable.py(1116): #####################################
pagecache(GET) MISS: https://forum.questionablequesting.com/login/login?_xfToken=&cookie_check=1&login=XXXXXXXX&password=XXXXXXXX&redirect=https://forum.questionablequesting.com/&register=0
FFF: DEBUG: 2019-08-27 10:54:26,855: configurable.py(989): Encoding:utf8
FFF: DEBUG: 2019-08-27 10:54:26,858: configurable.py(1116): #####################################
pagecache(GET) MISS: https://forum.questionablequesting.com/threads/unnamed-original.10165/
FFF: DEBUG: 2019-08-27 10:54:42,241: configurable.py(989): Encoding:utf8
FFF: INFO: 2019-08-27 10:54:42,244: base_xenforoforum_adapter.py(397): use useurl: https://forum.questionablequesting.com/threads/unnamed-original.10165/
FFF: DEBUG: 2019-08-27 10:54:44,126: configurable.py(1116): #####################################
pagecache(GET) MISS: https://forum.questionablequesting.com/threads/unnamed-original.10165/threadmarks?category_id=1
FFF: DEBUG: 2019-08-27 10:54:50,524: configurable.py(989): Encoding:utf8
FFF: DEBUG: 2019-08-27 10:54:50,807: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">

                                                <span class="DateTime" title="Aug 5, 2019 at 15:41">Aug 5, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 05, 2019 at 15:41' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,809: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 6, 2019 at 13:51">Aug 6, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 06, 2019 at 13:51' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,810: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 7, 2019 at 03:46">Aug 7, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 07, 2019 at 03:46' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,811: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 7, 2019 at 15:57">Aug 7, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 07, 2019 at 15:57' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,811: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 8, 2019 at 18:19">Aug 8, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 08, 2019 at 18:19' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,812: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 9, 2019 at 16:30">Aug 9, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 09, 2019 at 16:30' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,813: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 11, 2019 at 13:26">Aug 11, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 11, 2019 at 13:26' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,814: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 11, 2019 at 19:53">Aug 11, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 11, 2019 at 19:53' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,815: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 12, 2019 at 17:23">Aug 12, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 12, 2019 at 17:23' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,815: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 13, 2019 at 17:57">Aug 13, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 13, 2019 at 17:57' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,816: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 14, 2019 at 16:08">Aug 14, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 14, 2019 at 16:08' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,817: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 15, 2019 at 17:56">Aug 15, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 15, 2019 at 17:56' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,817: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 16, 2019 at 20:17">Aug 16, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 16, 2019 at 20:17' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,818: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 17, 2019 at 19:50">Aug 17, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 17, 2019 at 19:50' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,819: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 18, 2019 at 16:45">Aug 18, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 18, 2019 at 16:45' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,820: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 19, 2019 at 13:46">Aug 19, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 19, 2019 at 13:46' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,820: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <span class="DateTime" title="Aug 20, 2019 at 14:43">Aug 20, 2019</span>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 20, 2019 at 14:43' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,821: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <abbr class="DateTime" data-datestring="Aug 21, 2019" data-diff="489024" data-time="1566385466" data-timestring="19:04">Aug 21, 2019 at 19:04</abbr>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 21, 2019 at 19:04' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,822: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <abbr class="DateTime" data-datestring="Aug 22, 2019" data-diff="439519" data-time="1566434971" data-timestring="08:49">Aug 22, 2019 at 08:49</abbr>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 22, 2019 at 08:49' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,823: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <abbr class="DateTime" data-datestring="Aug 23, 2019" data-diff="309039" data-time="1566565451" data-timestring="21:04">Aug 23, 2019 at 21:04</abbr>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 23, 2019 at 21:04' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,824: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <abbr class="DateTime" data-datestring="Aug 24, 2019" data-diff="224321" data-time="1566650169" data-timestring="20:36">Aug 24, 2019 at 20:36</abbr>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 24, 2019 at 20:36' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,825: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <abbr class="DateTime" data-datestring="Aug 25, 2019" data-diff="142643" data-time="1566731847" data-timestring="19:17">Aug 25, 2019 at 19:17</abbr>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 25, 2019 at 19:17' does not match format '%m %d, %Y at %I:%M '
FFF: DEBUG: 2019-08-27 10:54:50,825: base_xenforoforum_adapter.py(589): No date found in <div class="extra muted">
                                                <abbr class="DateTime" data-datestring="Aug 26, 2019" data-diff="57702" data-time="1566816788" data-timestring="18:53">Aug 26, 2019 at 18:53</abbr>
                                        </div>, going on without
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 587, in make_date
    return makeDate(datestr, self.dateformat)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 616, in makeDate
    date = datetime.strptime(string, dateform)
  File "/usr/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '08 26, 2019 at 18:53' does not match format '%m %d, %Y at %I:%M '
Traceback (most recent call last):
  File "/usr/bin/fanficfare", line 11, in <module>
    load_entry_point('FanFicFare==3.10.5', 'console_scripts', 'fanficfare')()
  File "/usr/lib/python3.7/site-packages/fanficfare/cli.py", line 290, in main
    passed_personalini)
  File "/usr/lib/python3.7/site-packages/fanficfare/cli.py", line 402, in do_download
    adapter.getStoryMetadataOnly()
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 288, in getStoryMetadataOnly
    self.doExtractChapterUrlsAndMetadata(get_cover=get_cover)
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_adapter.py", line 372, in doExtractChapterUrlsAndMetadata
    return self.extractChapterUrlsAndMetadata()
  File "/usr/lib/python3.7/site-packages/fanficfare/adapters/base_xenforoforum_adapter.py", line 459, in extractChapterUrlsAndMetadata
    added = self.add_chapter(prepend+tm['title'],tm['url'],{'date':tm['date'].strftime(self.getConfig("datethreadmark_format",self.getConfig("dateCreated_format","%Y-%m-%d %H:%M:%S"))),
AttributeError: 'NoneType' object has no attribute 'strftime'
(Or here https://hastebin.com/raw/bozewokomu)

Have tested SFW thread, they can be scraped.
ursatempest is offline   Reply With Quote
Old 08-27-2019, 12:18 AM   #3682
ursatempest
Junior Member
ursatempest began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2019
Device: Smartphone, Kindle Paperwhite (2018)
Sorry for double-post, but I don't know how to edit. Anyway, chatted with a friend, and...


[12:13:39] <Aurora_iz_kosmos> Oh.
[12:13:42] <Aurora_iz_kosmos> %I is wrong
[12:13:50] <Aurora_iz_kosmos> That's for 12hour clock.
[12:13:56] <Aurora_iz_kosmos> Your QQ uses 24, as it proper.
[12:13:59] <UrsaTempest> ...
[12:14:03] <UrsaTempest> ... oh.
[12:14:06] <Aurora_iz_kosmos> And the script didn't update for this change.
[12:15:17] <Aurora_iz_kosmos> I think that QQ only started supporting that 2-ish months ago.
ursatempest is offline   Reply With Quote
Old 08-27-2019, 02:04 PM   #3683
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ursatempest View Post
Sorry for double-post, but I don't know how to edit. Anyway, chatted with a friend, and...


[12:13:39] <Aurora_iz_kosmos> Oh.
[12:13:42] <Aurora_iz_kosmos> %I is wrong
[12:13:50] <Aurora_iz_kosmos> That's for 12hour clock.
[12:13:56] <Aurora_iz_kosmos> Your QQ uses 24, as it proper.
[12:13:59] <UrsaTempest> ...
[12:14:03] <UrsaTempest> ... oh.
[12:14:06] <Aurora_iz_kosmos> And the script didn't update for this change.
[12:15:17] <Aurora_iz_kosmos> I think that QQ only started supporting that 2-ish months ago.
Then the answer is to change your account setting to 12 hour clock. It's the second setting in your QQ preferences.

FFF generally only supports the default settings (that I see when developing it) when a site has settings that change the code enough to break parsing.
JimmXinu is offline   Reply With Quote
Old 08-28-2019, 03:58 PM   #3684
DirCat
Enthusiast
DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.
 
Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
Pairing up multiple ships

Is there a way to easily pair up the people in 3+ person ships?

An example is at https://www.fanfiction.net/s/1076659...ee-to-Backstep where it's Daphne G., Harry P., and Hermione G. I would like it to make the ships Daphne G./Harry P., Daphne G./Hermione G., Harry P./Hermione G.

(The main reason I'd like this is because there are a lot of different ordering these people use, which makes the different ways to find them difficult to keep up with.)

Thanks!
DirCat is offline   Reply With Quote
Old 08-28-2019, 05:18 PM   #3685
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DirCat View Post
Is there a way to easily pair up the people in 3+ person ships?
...
One way is to use replace_metadata. See the wiki pages and other posts in this thread if you need help understanding how replace_metadata works:

Code:
add_to_replace_metadata:
 ships=>^([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\2/\3\,\1/\3
JimmXinu is offline   Reply With Quote
Old 08-29-2019, 10:53 AM   #3686
DirCat
Enthusiast
DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.
 
Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
Pairing up multiple ships: More than 2 people in ship

Quote:
Originally Posted by JimmXinu View Post
One way is to use replace_metadata. See the wiki pages and other posts in this thread if you need help understanding how replace_metadata works:

Code:
add_to_replace_metadata:
 ships=>^([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\2/\3\,\1/\3
The issue isn't just limited to 3 people in the ship though. I want to handle 3+, or anything over 2 people in the ship. I think I have figured it out with the above code, along with getting certain people in the front of the ship pairings. See what you think, if you don't mind.

Spoiler:
Code:
add_to_replace_metadata:
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\1/\15\,\1/\16\,\1/\17\,\1/\18\,\1/\19\,\1/\20\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14/\15/\16/\17/\18/\19/\20
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\1/\15\,\1/\16\,\1/\17\,\1/\18\,\1/\19\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14/\15/\16/\17/\18/\19
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\1/\15\,\1/\16\,\1/\17\,\1/\18\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14/\15/\16/\17/\18
 ships=>^([^/]+)/([^/]+)//([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\1/\15\,\1/\16\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14/\15/\16/\17
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\1/\15\,\1/\16\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14/\15/\16
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\1/\15\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14/\15
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\1/\14\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13/\14
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\1/\13\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12/\13
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\1/\12\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11/\12
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\1/\11\,\2/\3/\4/\5/\6/\7/\8/\9/\10/\11
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\1/\10\,\2/\3/\4/\5/\6/\7/\8/\9/\10
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\1/\9\,\2/\3/\4/\5/\6/\7/\8/\9
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\1/\8\,\2/\3/\4/\5/\6/\7/\8
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\1/\7\,\2/\3/\4/\5/\6/\7
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\1/\6\,\2/\3/\4/\5/\6
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\1/\5\,\2/\3/\4/\5
 ships=>^([^/]+)/([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\1/\3\,\1/\4\,\2/\3/\4
 ships=>^([^/]+)/([^/]+)/([^/]+)$=>\1/\2\,\2/\3\,\1/\3
 ships=>^([^/]+)/Ronald W.=>Ronald W./\1
 ships=>^([^/]+)/Harry P.=>Harry P./\1


I have put in the sort_ships:true above the add_to_replace_metadata, so that all ships will be alphabetical. Then I added the following code, expanding it to 20 person ships (not that I think I'd get that far, but I'd rather try too many people than too few). After reading the replace_metadata page, it looks like the metadata is replaced going down the script. If so, then if there's 20 people, it will pair up the first person with each of the 19 others, before pairing up the 19 others between themselves. Then it will go to the 19 split where it will pair up the 1st person with the 18 others, pair up the 18 others, etc.

At the end of the script, it will put Ronald W. in front of any pairing he is in unless he is in a pairing with Harry P., who will be first in all of his pairings.

I do think it'll work, but would like your opinion on it.

(I did think about using the "split ships into characters" and doing something with that, but I didn't want to combine two ships with each other.)

Thanks for your help! I love your plugin!
DirCat is offline   Reply With Quote
Old 08-29-2019, 12:40 PM   #3687
DirCat
Enthusiast
DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.DirCat invented the internet.
 
Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
re: Pairing up multiple ships: More than 2 people in ship

(I tried it (after fixing the typo on the 17-person ship line) and it works perfectly. Thanks for pointing me in the right direction!)

DirCat is offline   Reply With Quote
Old 08-30-2019, 11:15 AM   #3688
DredPirateWombat
Junior Member
DredPirateWombat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2019
Device: pc
Quote:
It's not practical for FFF to fetch the tag page for every tag for every story looking for canonical tags when a story can have dozens of tags. I'm not interesting in implementing a cache to make it practicable. I would (probably) accept code contribution for it if someone else wants to implement it.
I wanted to clarify, the part I wanted to be kept in mind for updates was a way to search your tags for a word and get a list of all tags with that word, that could then be added to a user category, rather than scrolling through my mass of 8000+ tags and hoping I don't miss anything.

Also, if you know of another plug-in or better place for this suggestion, please let me know. I understand this idea wouldn't necessarily be helpful ONLY for fanfic libraries and that it might be beyond the scope of your plugin.

Thank you for your previous response and for reading this, as well as all your work on this awesome plugin!
DredPirateWombat is offline   Reply With Quote
Old 08-30-2019, 12:01 PM   #3689
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by DredPirateWombat View Post
I wanted to clarify, the part I wanted to be kept in mind for updates was a way to search your tags for a word and get a list of all tags with that word, that could then be added to a user category, rather than scrolling through my mass of 8000+ tags and hoping I don't miss anything.

Also, if you know of another plug-in or better place for this suggestion, please let me know. I understand this idea wouldn't necessarily be helpful ONLY for fanfic libraries and that it might be beyond the scope of your plugin.

Thank you for your previous response and for reading this, as well as all your work on this awesome plugin!
Why not use Calibre's built-in library search function?
tags:word

FanFicFare also has a replace metadata option so you can add a standard tag that can be used for user categories.

Last edited by ilovejedd; 08-30-2019 at 12:04 PM.
ilovejedd is offline   Reply With Quote
Old 08-30-2019, 03:04 PM   #3690
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DredPirateWombat View Post
I wanted to clarify, the part I wanted to be kept in mind for updates was a way to search your tags for a word and get a list of all tags with that word, that could then be added to a user category, rather than scrolling through my mass of 8000+ tags and hoping I don't miss anything.
Calibre's Tag Browser has a search feature, but I've never really used it. It might help.

This isn't really anything I consider a FFF issue. I suggest you peruse the Library Management sub-forum and other plugins.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 08:06 AM.


MobileRead.com is a privately owned, operated and funded community.