i'm a client/server programmer (specifically PowerBuilder) and i don't
know 90% of what i'm doing. :) still, i was finally able to modify it
enough to make her work as i wanted to:
1. 50-item limit broken:
using an xml-reading routine, i was able to get the
<openSearch:itemsPerPage> from the url request return. using this, i
padded the xml with subsequent url request returns (<item>.*</item>
elements only) while incrementing the start-index parameter. thanks to
the handy replace-all function samples used by other parts of the
program, i was able to do this with ease (i know a bit of perl).
2. Restricted videos (they relay you to the content disclaimer page
and requires a verified-age login to view)
i cheated on this. i logged in youtube, got one of my cookies
(specifically LOGIN_INFO) and then hardcoded it into a
setRequestProperty() statement in VideoServelet. This works but only
until the cookie data expires: may 2011. haha. it would be nice to
know how to create cookies correctly here in java. :)
still, problems loom:
1. i can't build the rsshandler main jar as a signed one. gradle keeps
throwing up an exception (which is better than javac, since i can't
even compile from there). but at least i have a jar i can run locally.
2. When the cookie expires, does it mean i should rebuild the jar
file?
On Sep 9, 2:52 am, "
sweatdro...@yahoo.com" <
sweatdro...@yahoo.com>
wrote: