File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ from arxivcollector import ArXivCollector
2
+
3
+
4
+ def create (url , title = "output" , mode = 'bibtex' ):
5
+ # Initiate a new instance of the arXivCollector class
6
+ collector = ArXivCollector ()
7
+ # Set the title of the exported file (optional)
8
+ collector .set_title (title )
9
+ collector .set_mode (mode )
10
+ # Pass the search URL to the run method
11
+ collector .run (url )
12
+
13
+
14
+ url = 'https://arxiv.org/search/advanced?advanced=&terms-0-operator=AND&terms-0-term=stochastic+parrot&terms-0-field=title&classification-physics_archives=all&classification-include_cross_list=include&date-filter_by=all_dates&date-year=&date-from_date=&date-to_date=&date-date_type=submitted_date&abstracts=show&size=50&order=-announced_date_first'
15
+
16
+ create (url , "output" , "csv" )
You can’t perform that action at this time.
0 commit comments