mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-09-20 12:44:40 -04:00
omit timestamp4datetime for now
This commit is contained in:
parent
a6d193171d
commit
3f0227cd44
1 changed files with 0 additions and 15 deletions
|
@ -32,21 +32,6 @@ import threading
|
||||||
thread_local = threading.local()
|
thread_local = threading.local()
|
||||||
|
|
||||||
|
|
||||||
def _timestamp4datetime(timestamp):
|
|
||||||
"""split `timestamp` into a tuple of 6 integers.
|
|
||||||
|
|
||||||
:param timestamp: full-length timestamp
|
|
||||||
"""
|
|
||||||
timestamp = timestamp[:14]
|
|
||||||
return (
|
|
||||||
int(timestamp[:-10]),
|
|
||||||
int(timestamp[-10:-8]),
|
|
||||||
int(timestamp[-8:-6]),
|
|
||||||
int(timestamp[-6:-4]),
|
|
||||||
int(timestamp[-4:-2]),
|
|
||||||
int(timestamp[-2:])
|
|
||||||
)
|
|
||||||
|
|
||||||
def should_ytdlp(site, page, page_status, skip_av_seeds):
|
def should_ytdlp(site, page, page_status, skip_av_seeds):
|
||||||
# called only after we've passed needs_browsing() check
|
# called only after we've passed needs_browsing() check
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue